Options
All
  • Public
  • Public/Protected
  • All
Menu

String field.

example
const schema = fields.string();

schema.create("hello");

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Optional Readonly options

Accessors

name

  • get name(): string

type

  • get type(): string

Methods

check

  • check(value: unknown): boolean

create

  • create(value: string): string

validate

  • validate(value: unknown, key?: string): true

Generated using TypeDoc