Little Endian

Check if an environment 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>

CLI

Usage

Usage: is-little-endian [options]

Options:

  -h,    --help                Print this message.
  -V,    --version             Print the package version.

Examples

$ is-little-endian
<boolean>
Did you find this page helpful?