Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Form<string>
    • StringForm

Index

Constructors

constructor

  • Parameters

    • Optional unit: string

    Returns StringForm

Properties

Readonly tag

tag: undefined | string

Readonly unit

unit: undefined | string

Methods

cast

  • cast(item: Item, object?: string): undefined | string
  • Parameters

    • item: Item
    • Optional object: string

    Returns undefined | string

mold

  • mold(object: string, item?: Item): Item
  • Parameters

    • object: string
    • Optional item: Item

    Returns Item

withTag

  • withTag(tag: undefined | string): Form<string, never>
  • Parameters

    • tag: undefined | string

    Returns Form<string, never>

withUnit

  • withUnit(unit: undefined | string): Form<string, never>
  • Parameters

    • unit: undefined | string

    Returns Form<string, never>

Static forAny

  • Returns Form<AnyItem, never>

Static forBoolean

  • forBoolean(): Form<boolean, never>
  • Returns Form<boolean, never>

Static forItem

  • Returns Form<Item, AnyItem>

Static forNumber

  • forNumber(): Form<number, never>
  • Returns Form<number, never>

Static forString

  • forString(): Form<string, never>
  • Returns Form<string, never>

Static forValue

Generated using TypeDoc