API

Interface ISmartArrayLike<T>

Defines an array and its length. It can be helpful to group result from both Arrays and smart arrays in one structure.

interface ISmartArrayLike<T> {
    data: T[];
    length: number;
}

Type Parameters

  • T

Implemented by

Index
data: T[]

The data of the array.

length: number

The active length of the array.