Skip to content

Opensearch dashboards.savedobjectsutils.namespacestringtoid

Home > opensearch-dashboards > SavedObjectsUtils > namespaceStringToId

SavedObjectsUtils.namespaceStringToId property

Converts a given saved object namespace string to its ID representation. All namespace strings have an identical ID representation, with the exception of the 'default' namespace string (which has a namespace ID of undefined).

Signature:

static namespaceStringToId: (namespace: string) => string | undefined;