is-ascii-control-char-code
Check if a given value is one of the ASCII control character codes
; ; //=> true; //=> false
Installation
npm install is-ascii-control-char-code
API
;
isAsciiControlCharCode(charCode)
charCode: number
Return: boolean
It returns true
if the argument is a whole number no fewer than 0
and no greater than 31
, or 127
. Otherwise, it returns false
.
// Returns `true`;;; // Returns `false`;;;;;;;
Related
- is-ascii-control-char - Check a character instead of a character code
License
BSD Zero Clause License © 2019 Shinnosuke Watanabe