time-to-botec/squiggle/node_modules/@stdlib/assert/is-little-endian/README.md
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

1.7 KiB

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>