Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TypeArray

Hierarchy

Index

Constructors

constructor

  • Parameters

    • innerType: any

    Returns TypeArray

Methods

allowNull

  • allowNull(): boolean
  • Returns whether null values are okay

    Returns boolean

deserialize

  • deserialize(value: any, targetObject: any, targetKey: any, root: any): any
  • see

    BaseDataType.deserialize

    Parameters

    • value: any
    • targetObject: any
    • targetKey: any
    • root: any

    Returns any

    String error code or null on success

deserializeWithVerify

  • deserializeWithVerify(value: any, targetObject: any, targetKey: any, root: any): string | void
  • Deserializes a serialized value, but performs integrity checks before

    Parameters

    • value: any
    • targetObject: any
    • targetKey: any
    • root: any

    Returns string | void

    String error code or null on success

getAsJsonSchema

  • getAsJsonSchema(): object
  • Returns the json schema

    Returns object

    • $ref: string

getAsJsonSchemaUncached

  • getAsJsonSchemaUncached(): object

getCacheKey

  • getCacheKey(): string

serialize

  • serialize(value: any): any[]
  • Parameters

    • value: any

    Returns any[]

verifySerializedValue

  • verifySerializedValue(value: any): string