Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BasicTypeOptions

Hierarchy

  • BasicTypeOptions

Properties

Optional coerce

coerce: function

Type declaration

    • (value: any): any
    • Parameters

      • value: any

      Returns any

Optional decode

decode: function

Type declaration

    • (stream: BinaryStream): void
    • Parameters

      • stream: BinaryStream

      Returns void

Optional defaultValue

defaultValue: any

Optional encode

encode: function

Type declaration

name

name: string

Optional random

random: function

Type declaration

    • (): any
    • Returns any

subType

subType: string

Optional toJSON

toJSON: function

Type declaration

    • (value: any): any
    • Parameters

      • value: any

      Returns any

Optional validate

validate: function

Type declaration

    • (value: any): boolean
    • Parameters

      • value: any

      Returns boolean

Generated using TypeDoc