Get the id of the current user (self).
The user id, or undefined when the metatell host is not ready.
undefined
import { getId } from "@urth/metatell-sdk/user";const userId = getId(); Copy
import { getId } from "@urth/metatell-sdk/user";const userId = getId();
Get the id of the current user (self).