MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / booleanArg

Function booleanArg

scripts/stress/simdeck.mjs:278–284  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

276}
277
278function booleanArg(value) {
279 return ["1", "true", "yes", "on"].includes(
280 String(value ?? "")
281 .trim()
282 .toLowerCase(),
283 );
284}

Callers 1

simdeck.mjsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected