← All Modules

Methods

object

dig

dig(object, string)

Parameters:

  • object
  • string

Returns the value of any object property, which the name has been passed in the string.

keys

keys(object)

Parameters:

  • object

Returns an array of a given object's property names.

pat

pat(object, string, value)

Parameters:

  • object
  • string
  • value

Overrides the value of any object property, which the name has been passed in the string with the value.

rename

rename(object, keys)

Parameters:

  • object
  • keys

Changes names of the object properties to responds values from the keys object.

values

values(object)

Parameters:

  • object

Returns an array of a given object's own enumerable property values.

merge

merge(object, sources)

Parameters:

  • object
  • sources

Merges properties of sources into the destination object.

clone

clone(object)

Parameters:

  • object

Creates shallow copy of the passed object (objects are clone as reference).

deepclone

deepclone(object)

Parameters:

  • object

Creates deep copy of the passed object (objects are clone as value).

recsort

recsort(object)

Parameters:

  • object

Sorts keys of an object.

camelcase

camelcase(object)

Parameters:

  • object

Converts object keys to camelCase.