String.ts overview
String related schemas and filters
Since v1.0.0
Exports Grouped by Category
String filters
ascii
Signature
declare const ascii: <S extends Schema.Schema.Any>(
annotations?: Schema.Annotations.Filter<Schema.Schema.Type<S>> | undefined
) => <A extends string>(
self: S & Schema.Schema<A, Schema.Schema.Encoded<S>, Schema.Schema.Context<S>>
) => Schema.filter<S>
Since v1.0.0
hexadecimal
Signature
declare const hexadecimal: <S extends Schema.Schema.Any>(
annotations?: Schema.Annotations.Filter<Schema.Schema.Type<S>> | undefined
) => <A extends string>(
self: S & Schema.Schema<A, Schema.Schema.Encoded<S>, Schema.Schema.Context<S>>
) => Schema.filter<S>
Since v1.0.0
octal
Signature
declare const octal: <S extends Schema.Schema.Any>(
annotations?: Schema.Annotations.Filter<Schema.Schema.Type<S>> | undefined
) => <A extends string>(
self: S & Schema.Schema<A, Schema.Schema.Encoded<S>, Schema.Schema.Context<S>>
) => Schema.filter<S>
Since v1.0.0
Strings
Ascii (class)
Signature
declare class Ascii
Since v1.0.0
Hexadecimal (class)
Signature
declare class Hexadecimal
Since v1.0.0
Octal (class)
Signature
declare class Octal
Since v1.0.0