We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fedd8f3 commit 1a9a4f5Copy full SHA for 1a9a4f5
src/nodes/Object.Pick.ts
@@ -8,7 +8,7 @@ type P = {
8
type R = unknown;
9
10
export const module: ModuleDefinition<P, R> = {
11
- version: '1.4.5',
+ version: '1.4.6',
12
moduleName: 'Object / Pick',
13
description: `
14
Picks specified keys from an object.
@@ -37,7 +37,7 @@ export const module: ModuleDefinition<P, R> = {
37
};
38
39
export const compute: ModuleCompute<P, R> = params => {
40
- const object = typeof params.object === 'object' ? params.object : {};
+ const object = typeof params.object === 'object' ? params.object ?? {} : {};
41
const res: any = {};
42
for (const key of params.keys) {
43
const value = (object as any)[key];
0 commit comments