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