assertIdType
Public Function
Assert whether an id correspond to a record type.
Example
assertIdType(myId, 'shape')
Parameters
| Name | Description |
|---|---|
| The id to check. |
| The type of the record. |
Returns
asserts id is IdOf<R>
Public Function
Assert whether an id correspond to a record type.
assertIdType(myId, 'shape')
| Name | Description |
|---|---|
| The id to check. |
| The type of the record. |
asserts id is IdOf<R>