MCPcopy Create free account
hub / github.com/yargs/yargs / isArrayOfNumbers

Function isArrayOfNumbers

example/nested.mjs:51–53  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

49console.log(argv);
50
51function isArrayOfNumbers(arr) {
52 return Array.isArray(arr) && arr.every(n => typeof n === 'number');
53}
54
55// NOTE: ".parse()" should only be used at top level, not inside builder functions.

Callers 1

nested.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…