Functions
AddRange
- AddRange<T>(array: Array<T>, items: Array<T>): void
-
Type parameters
Parameters
-
array: Array<T>
-
items: Array<T>
Returns void
Find
- Find<T>(array: Array<T>, comparer: function): T
-
Type parameters
Parameters
-
array: Array<T>
-
comparer: function
-
-
Parameters
Returns boolean
Returns T
OfType
- OfType<T, U>(array: Array<U>, comparer: function): T[]
-
Type parameters
Parameters
-
array: Array<U>
-
comparer: function
-
-
Parameters
Returns boolean
Returns T[]
Rank
- Rank(array: any[], testElementCount?: number): number
-
Parameters
-
array: any[]
-
Default value testElementCount: number = 4
Returns number
RemoveEntry
- RemoveEntry<T>(array: Array<T>, entry: T): boolean
-
Type parameters
Parameters
Returns boolean
isArray
- isArray(obj: any): boolean
-
Parameters
Returns boolean
dirty calculation of max dimension, will return more than one if array contains any array element in first testElementCount items