Extract Key-Value into a New Object (Take)

Table of Contents

Returns a new map with all the key-value pairs in map where the key is in keys. 

Properties #

Object: Location of the object to take the value from
Keys: Key of the value to extract

Output #

Output-location: Location to store the output data

Example #

From the object {a: 1, b: 2, c: 3}, extract values matching the keys [a, c, e].

This will return {a: 1, c: 3}

Leave a Reply