diff --git a/src/nodes/TS3Call/TS3Call.ts b/src/nodes/TS3Call/TS3Call.ts index b509831..fef0355 100644 --- a/src/nodes/TS3Call/TS3Call.ts +++ b/src/nodes/TS3Call/TS3Call.ts @@ -32,7 +32,7 @@ const nodeInit: NodeInitializer = (RED): void => { if (typeof member === "function"){ let args: any[] = [] - if (msg.payload instanceof Array){ + if (Array.isArray(msg.payload)){ args = msg.payload }else{ args = [msg.payload]