Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Parsable<TypeNames>

Type parameters

Hierarchy

  • Parsable

Index

Properties

Optional Readonly defaultValue

defaultValue: ParsableTypeOf<TypeNames>

The default value if there is no value to parse.

Optional Readonly description

description: undefined | string

Provide a description.

Readonly type

type: TypeNames

The type in which is parsed the value.

Optional Readonly validator

validator: undefined | ((value: ParsableTypeOf<TypeNames>) => boolean | string)

Used to check if parsed value satisfy certain conditions.

Generated using TypeDoc