Methods
add
- add(model: T | IModel): boolean
-
Parameters
Returns boolean
chunk
- chunk(size: number): T[][]
countBy
-
Parameters
Returns object
find
- find(predicate: IPredicate, start: number): T | undefined
-
Parameters
Returns T
|
undefined
getById
- getById(id: string): T | IModel | null
-
Parameters
Returns T
|
IModel
|
null
groupBy
-
Parameters
Returns object
has
- has(model: T | IModel): boolean
-
Parameters
Returns boolean
remove
- remove(model: T | IModel): boolean
-
Parameters
Returns boolean
reset
- reset(array: any[] | T[]): void