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

prefix

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