Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ArrayConstructor

Hierarchy

  • ArrayConstructor

Callable

  • __call(arrayLength?: number): any[]
  • __call<T>(arrayLength: number): T[]
  • __call<T>(...items: T[]): T[]
  • Parameters

    • Optional arrayLength: number

    Returns any[]

  • Type parameters

    • T

    Parameters

    • arrayLength: number

    Returns T[]

  • Type parameters

    • T

    Parameters

    • Rest ...items: T[]

    Returns T[]

Index

Constructors

Properties

Methods

Constructors

constructor

  • new ArrayConstructor(arrayLength?: number): any[]
  • new ArrayConstructor<T>(arrayLength: number): T[]
  • new ArrayConstructor<T>(...items: T[]): T[]
  • Parameters

    • Optional arrayLength: number

    Returns any[]

  • Type parameters

    • T

    Parameters

    • arrayLength: number

    Returns T[]

  • Type parameters

    • T

    Parameters

    • Rest ...items: T[]

    Returns T[]

Properties

Readonly prototype

prototype: any[]

Methods

isArray

  • isArray(arg: any): arg is any[]
  • Parameters

    • arg: any

    Returns arg is any[]

Generated using TypeDoc