1.0.1 • Published 6 years ago
is-sinhalese v1.0.1
is-sinhalese
A JS module to check if a given string is a word from Sinhalese language
Install
npm install is-sinhaleseUsage
var isSinhalese = require('is-sinhalese');
assert.equal(isSinhalese('සිංහල'), true);This function returns true if the given string contains only characters from Unicode Sinhalese block. It is up to the caller to split strings to words and trim them.