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