idValidator
Public function
Signature
function idValidator<Id extends RecordId<UnknownRecord>>(
prefix: Id['__type__']['typeName']
): T.Validator<Id>
Parameters
Name | Description |
---|---|
|
|
Returns
T.Validator<Id>
References
RecordId, UnknownRecord, T.Validator
Source