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