Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

D toc

Excerpt

Filters the keys and values from an Object data type column based on a specified key value.

D s
snippetBasic


Object literal reference example:

...

ArgumentRequired?Data TypeDescription
obj_colYString or ObjectName of column, function Function returning an Object , or Object literal to be filtered
keysYArrayArray representing the keys to filter. Each element can be a String, function returning a String, or a reference to a column of String values.

D s lang notes

obj

...

Object literal , name of the Object column, or function returning an Object whose keys you want to extract into an array.

...

Required?Data TypeExample Value
YesObject literal , or function, or column referencemyObj

keys

This parameter contains an Array of Strings, each of which represents a key whose values are to be returned with the key as the output of the function.

...