@stdlib/assert-is-big-endian
v0.2.2
Published
Check if an environment is big endian.
Downloads
1,558,996
Readme
Big Endian
Check if an environment is big endian.
Installation
npm install @stdlib/assert-is-big-endian
Usage
var IS_BIG_ENDIAN = require( '@stdlib/assert-is-big-endian' );
IS_BIG_ENDIAN
Boolean
indicating if an environment is big endian.
var bool = IS_BIG_ENDIAN;
// returns <boolean>
Examples
var IS_BIG_ENDIAN = require( '@stdlib/assert-is-big-endian' );
console.log( IS_BIG_ENDIAN );
// => <boolean>
See Also
@stdlib/assert-is-big-endian-cli
: CLI package for use as a command-line utility.@stdlib/assert-is-little-endian
: check if an environment is little 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.