Methods
Static chunk
- chunk<T>(array: T[], size: number): T[][]
-
Type parameters
Parameters
Returns T[][]
Static Private compare2Objects
- compare2Objects(leftChain: any, rightChain: any, x: any, y: any): boolean
-
Parameters
-
leftChain: any
-
rightChain: any
-
x: any
-
y: any
Returns boolean
Static deepCompare
- deepCompare(...args: any[]): boolean
-
Parameters
Returns boolean
Static groupBy
- groupBy<T, R>(array: T[], propertyCallback: function): object[]
-
Type parameters
Parameters
-
array: T[]
-
propertyCallback: function
Returns object[]
Static isArraysEqual
- isArraysEqual(arr1: any[], arr2: any[]): boolean
-
Parameters
Returns boolean
Static isObject
- isObject(item: any): boolean
-
Parameters
Returns boolean
Static mergeDeep
- mergeDeep(target: any, ...sources: any[]): any
-
Parameters
-
target: any
-
Rest ...sources: any[]
Returns any
Static splitClassesAndStrings
- splitClassesAndStrings<T>(clsesAndStrings: (string | T)[]): [T[], string[]]
-
Type parameters
Parameters
-
clsesAndStrings: (string | T)[]
Returns [T[], string[]]
Static toBoolean
- toBoolean(value: any): boolean
-
Parameters
Returns boolean
Static uniq
- uniq<T>(array: T[], criteria?: undefined | function): T[]
- uniq<T, K>(array: T[], property: K): T[]
-
Type parameters
Parameters
-
array: T[]
-
Optional criteria: undefined | function
Returns T[]
-
Type parameters
Parameters
Returns T[]
Static zipObject
-
Parameters
-
keys: any[]
-
values: any[]
Chunks array into peaces.