Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T: string | number

Hierarchy

  • FormatDefinition

Index

Properties

async?: false
compare?: FormatCompare<T>
type?: T extends string ? undefined | "string" : "number"
validate: FormatValidator<T> | (T extends string ? string | RegExp : never)