is-4byte-code-point
Check if a given number is a code point of UTF-8 4-byte character
; ; //=> false; //=> true
Installation
npm
npm install is-4byte-code-point
Bower
bower install is-4byte-code-point
is4byteCodePoint(number)
number: Number
Return: Boolean
It returns true
if the number is no fewer than 65536
and no greater than 1114111
, otherwise false
.
; //=> false; //=> false; //=> true; //=> false; //=> false; //=> false
License
Copyright (c) 2016 Shinnosuke Watanabe
Licensed under the MIT License.