From af1c8a417a5acb6834557e922e721bb41eced9c7 Mon Sep 17 00:00:00 2001 From: aehrath Date: Sun, 8 Sep 2024 23:28:15 -0700 Subject: [PATCH] Removed duplicate length function. --- src/nodes/base.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/nodes/base.js b/src/nodes/base.js index bc6c2cd1b..d3d775375 100755 --- a/src/nodes/base.js +++ b/src/nodes/base.js @@ -1361,12 +1361,6 @@ LiteGraph.registerNodeType("basic/jsonparse", JSONParse); LiteGraph.registerNodeType("basic/variable", Variable); - function length(v) { - if(v && v.length != null) - return Number(v.length); - return 0; - } - LiteGraph.wrapFunctionAsNode( "basic/length", length,