MCPcopy Create free account
hub / github.com/Milkyroad/SCiPNET / splitValue

Function splitValue

public/src/js/script.js:913–915  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

911//values handling
912//function to split user input by spaces
913function splitValue(val) {
914 return val.split(" ");
915}
916//check is the string a number
917function isNumber(n) {
918 return /^-?[\d.]+(?:e-?\d+)?$/.test(n);

Callers 1

replyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected