MCPcopy Create free account
hub / github.com/TruthHun/BookStack / isNumber

Function isNumber

static/editor.md/lib/codemirror/mode/solr/solr.js:21–23  ·  view source on GitHub ↗
(word)

Source from the content-addressed store, hash-verified

19 var isOperatorString = /^(OR|AND|NOT|TO)$/i;
20
21 function isNumber(word) {
22 return parseFloat(word, 10).toString() === word;
23 }
24
25 function tokenString(quote) {
26 return function(stream, state) {

Callers 1

tokenWordFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected