Const
The symbol to check if a value is of the given schema type. Used by union schemas to determine which schema variant matches a value.
class StringSchema { [IS_OF_TYPE](value: unknown) { return typeof value === 'string' }} Copy
class StringSchema { [IS_OF_TYPE](value: unknown) { return typeof value === 'string' }}
The symbol to check if a value is of the given schema type. Used by union schemas to determine which schema variant matches a value.