getItemSync Method
Gets an item from within this schema. To get by full name use lookupItem instead.
getItemSync<T extends SchemaItem<T>>(name: string): undefined | T
Parameter | Type | Description |
---|---|---|
name | string |
Returns - undefined | T
Defined in
Last Updated: 15 March, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.