Public function

Signature
function idValidator<Id extends RecordId<UnknownRecord>>(
  prefix: Id['__type__']['typeName']
): T.Validator<Id>
Parameters
NameDescription

prefix

Id['__type__']['typeName']
Returns
T.Validator<Id>
References

RecordId, UnknownRecord, T.Validator

Source

packages/tlschema/src/misc/id-validator.ts

highlightShapePropsimageShapeMigrations