Skip to content

Opensearch dashboards.savedobjecttyperegistry.getindex

Home > opensearch-dashboards > SavedObjectTypeRegistry > getIndex

SavedObjectTypeRegistry.getIndex() method

Returns the indexPattern property for given type, or undefined if the type is not registered.

Signature:

getIndex(type: string): string | undefined;

Parameters

Parameter Type Description
type string

Returns:

string | undefined