MCPcopy Index your code
hub / github.com/nodejs/node / numeric

Function numeric

deps/minimatch/index.js:93–95  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

91 var periodPattern = /\\\./g;
92 exports2.EXPANSION_MAX = 1e5;
93 function numeric(str) {
94 return !isNaN(str) ? parseInt(str, 10) : str.charCodeAt(0);
95 }
96 function escapeBraces(str) {
97 return str.replace(slashPattern, escSlash).replace(openPattern, escOpen).replace(closePattern, escClose).replace(commaPattern, escComma).replace(periodPattern, escPeriod);
98 }

Callers 1

expand_Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…