Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ArrayType

Represents an array type.

let value: string[];

Hierarchy

Index

Constructors

constructor

Properties

elementType

elementType: Type

The type of the array elements.

type

type: string = "array"

The type name identifier.

Methods

clone

equals

  • equals(type: Type): boolean
  • Test whether this type equals the given type.

    Parameters

    • type: Type

      The type that should be checked for equality.

    Returns boolean

    TRUE if the given type equals this type, FALSE otherwise.

toObject

  • toObject(): any

toString

  • toString(): string

Static isTypeListEqual

  • isTypeListEqual(a: Type[], b: Type[]): boolean

Static isTypeListSimiliar

  • isTypeListSimiliar(a: Type[], b: Type[]): boolean

Generated using TypeDoc