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: 30 November, 2023