Skip to main content Link Search Menu Expand Document (external link)

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>

Source

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>

Source

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>

Source

Since v1.0.0

Strings

Ascii (class)

Signature

declare class Ascii

Source

Since v1.0.0

Hexadecimal (class)

Signature

declare class Hexadecimal

Source

Since v1.0.0

Octal (class)

Signature

declare class Octal

Source

Since v1.0.0