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: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.