Remove redundant conditional

This commit is contained in:
Bernardo Belchior
2019-05-08 18:51:16 +01:00
committed by GitHub
parent 12ff3abeda
commit f0b1585b52

View File

@@ -27,7 +27,7 @@
name: {value:""},
func: {value:"\nreturn msg;"},
outputs: {value:1},
noerr: {value:0,required:true,validate:function(v) { return ((!v) || (v === 0)); }}
noerr: {value:0,required:true,validate:function(v) { return !v; }}
},
inputs:1,
outputs:1,