@urth/metatell-sdk - v0.1.0
    Preparing search index...

    Function getId

    • Get the id of the current user (self).

      Returns string | undefined

      The user id, or undefined when the metatell host is not ready.

      import { getId } from "@urth/metatell-sdk/user";

      const userId = getId();