@sygn/has-unicode
v0.1.1
Published
one line check whether a string contains unicode characters
Downloads
2
Readme
has-unicode
one line check whether a string contains unicode characters
const hasUnicode = require('@sygn/has-unicode');
console.log(hasUnicode('😀?'));
// true
// you can add a handler for handling type errors
hasUnicode.onError(console.error);