assertIsInvertedUnit MethodStatic
Type assertion to check if the SchemaItem is of type InvertedUnit.
assertIsInvertedUnit(item?: SchemaItem): item is InvertedUnit
@returns The item cast to InvertedUnit if it is an InvertedUnit, undefined otherwise.
Parameter | Type | Description |
---|---|---|
item | SchemaItem | The SchemaItem to check. |
Returns - item is InvertedUnit
The item cast to InvertedUnit if it is an InvertedUnit, undefined otherwise.
Defined in
Last Updated: 21 February, 2025
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.