Reference Source

References

summary
public

F accessDeep(path: array, obj: object): null | any

Safely access deeply nested values in an object.

public

F arrayChunks(arr: array, len: number): array

Group an array's values into subgroups.

public

F ifFunc(func: function, args: args): any

Quickly call a function or fail gracefully if it does not exist.

public

F mapObj(obj: object, callback: function): array

The mapObj() method creates a new array with the results of calling a provided function on every element in the calling object.

public

F setDeep(obj: object, path: array | string , value: any, setRecursively: boolean): object

Deeply nest and set a value in an object.