Test if a value is an unsigned 64-bit integer.
var isUint64 = require( '@stdlib/assert/is-uint64' );Tests if a value is an unsigned 64-bit integer.
var Uint64 = require( '@stdlib/number/uint64/ctor' );
var x = new Uint64( 1234 );
var bool = isUint64( x );
// returns truevar Uint64 = require( '@stdlib/number/uint64/ctor' );
var Complex128 = require( '@stdlib/complex/float64/ctor' );
var isUint64 = require( '@stdlib/assert/is-uint64' );
console.log( isUint64( new Uint64( 1234 ) ) );
// => true
console.log( isUint64( new Complex128( 3.0, 1.0 ) ) );
// => false
console.log( isUint64( {} ) );
// => false
console.log( isUint64( null ) );
// => false