Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenEndedGroup/Field2
/ numDP
Function
numDP
lib/web/drags.js:434–437 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
432
433
434
var
numDP =
function
(n) {
435
if
(n.indexOf(
"."
) == -1)
return
-1;
436
return
n.length - n.indexOf(
"."
);
437
}
438
439
//makeSlider(rrRaph, w, h, function(){return 0.5}, function(o,p,n){_field.log(n);return n})
440
Callers
1
set
Function · 0.85
Calls
1
indexOf
Method · 0.80
Tested by
no test coverage detected