(value)
| 482 | } |
| 483 | |
| 484 | checking(value) { |
| 485 | if (this._checkingOneValue(value)) { |
| 486 | return; |
| 487 | } |
| 488 | |
| 489 | // Allow check(arguments, [String]) or check(arguments.slice(1), [String]) |
| 490 | // or check([foo, bar], [String]) to count... but only if value wasn't |
| 491 | // itself an argument. |
| 492 | if (Array.isArray(value) || isArguments(value)) { |
| 493 | Array.prototype.forEach.call(value, this._checkingOneValue.bind(this)); |
| 494 | } |
| 495 | } |
| 496 | |
| 497 | _checkingOneValue(value) { |
| 498 | for (let i = 0; i < this.args.length; ++i) { |
no test coverage detected