lookupItem Method
Attempts to find a schema item within this schema or a (directly) referenced schema
lookupItem<T extends SchemaItem>(key: string | Readonly<SchemaItemKey>): Promise<undefined | T>
Parameter | Type | Description |
---|---|---|
key | string | Readonly<SchemaItemKey> | The full name or a SchemaItemKey identifying the desired item. |
Returns - Promise<undefined | T>
Defined in
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.