time-to-botec/js/node_modules/@stdlib/constants/int16/num-bytes/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.3 KiB

Number of Bytes

Size (in bytes) of a 16-bit signed integer.

Usage

var INT16_NUM_BYTES = require( '@stdlib/constants/int16/num-bytes' );

INT16_NUM_BYTES

Size (in bytes) of a 16-bit signed integer.

var bool = ( INT16_NUM_BYTES === 2 );
// returns true

Examples

var INT16_NUM_BYTES = require( '@stdlib/constants/int16/num-bytes' );

console.log( INT16_NUM_BYTES );
// => 2