mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Update packages/node_modules/@node-red/nodes/core/logic/10-switch.js
Co-Authored-By: Nick O'Leary <nick.oleary@gmail.com>
This commit is contained in:
parent
a2dedba0ef
commit
93ad9a3aa6
@ -72,7 +72,7 @@ module.exports = function(RED) {
|
|||||||
return ((min <= index) && (index <= max));
|
return ((min <= index) && (index <= max));
|
||||||
},
|
},
|
||||||
'hask': function(a, b) {
|
'hask': function(a, b) {
|
||||||
if (typeof b !== "object" ) { return a.hasOwnProperty(b+""); }
|
return (typeof b !== "object" ) && a.hasOwnProperty(b+"");
|
||||||
},
|
},
|
||||||
'jsonata_exp': function(a, b) { return (b === true); },
|
'jsonata_exp': function(a, b) { return (b === true); },
|
||||||
'else': function(a) { return a === true; }
|
'else': function(a) { return a === true; }
|
||||||
|
Loading…
Reference in New Issue
Block a user