/* eslint-disable no-new-wrappers */ 'use strict'; var isNonNegativeIntegerArray = require( './../lib' ); var bool = isNonNegativeIntegerArray( [ 5, 2, 3 ] ); console.log( bool ); // => true bool = isNonNegativeIntegerArray( [ 0, 1, 2, 3, 4 ] ); console.log( bool ); // => true bool = isNonNegativeIntegerArray( [ 1, new Number( 6 ), 3 ] ); console.log( bool ); // => true bool = isNonNegativeIntegerArray( [ 1, 'abc', 3 ] ); console.log( bool ); // => false bool = isNonNegativeIntegerArray( [ 2.3, 1, 3 ] ); console.log( bool ); // => false bool = isNonNegativeIntegerArray( [] ); console.log( bool ); // => false