0.2.2 • Published 5 months ago
@stdlib/assert-is-little-endian v0.2.2
Little Endian
Check if an environment is little endian.
Installation
npm install @stdlib/assert-is-little-endian
Usage
var IS_LITTLE_ENDIAN = require( '@stdlib/assert-is-little-endian' );
IS_LITTLE_ENDIAN
Boolean
indicating if an environment is little endian.
var bool = IS_LITTLE_ENDIAN;
// returns <boolean>
Examples
var IS_LITTLE_ENDIAN = require( '@stdlib/assert-is-little-endian' );
console.log( IS_LITTLE_ENDIAN );
// => <boolean>
See Also
@stdlib/assert-is-little-endian-cli
: CLI package for use as a command-line utility.@stdlib/assert-is-big-endian
: check if an environment is big endian.
Notice
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
Community
License
See LICENSE.
Copyright
Copyright © 2016-2024. The Stdlib Authors.