Primitive
object.pick
BETAShort name: pick
Version: 1.0.0
Return a shallow object containing only requested keys, similar to data.pick.
Back to primitive libraryInputs
| Key | Type | Required | Description |
|---|---|---|---|
| keys | array | true | Keys to include. |
| object | object | true | Source plain object. |
Outputs
| Key | Type | Required | Description |
|---|---|---|---|
| result | object | false | Shallow object containing only requested keys. |