MCPcopy Create free account
hub / github.com/EvoMap/evolver / nodeOptionIsEvalMode

Function nodeOptionIsEvalMode

src/ops/lifecycle.js:458–463  ·  view source on GitHub ↗
(option)

Source from the content-addressed store, hash-verified

456}
457
458function nodeOptionIsEvalMode(option) {
459 var name = String(option || '').split('=')[0];
460 return name === '-e' || name === '--eval' ||
461 name === '-p' || name === '--print' ||
462 name === '-c' || name === '--check';
463}
464
465function getNodeScriptToken(tokens) {
466 for (var i = 0; i < tokens.length; i++) {

Callers 1

getNodeScriptTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected