is-ascii-control-char
Check if a given value is one of the ASCII control characters
; ; //=> true; //=> false
Installation
npm install is-ascii-control-char
API
;
isAsciiControlChar(character)
character: string
Return: boolean
It returns true
if the argument is a single-character string
with an ASCII control character, otherwise returns false
.
// Returns `true`;; // Returns `false`;;;;;
Related project
is-ascii-control-char-code - Check a character code instead of a character
License
Copyright (c) 2016 - 2019 Shinnosuke Watanabe
Licensed under the MIT License.