1.0.1 • Published 4 years ago

is-sinhalese v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

is-sinhalese

A JS module to check if a given string is a word from Sinhalese language

Install

npm install is-sinhalese

Usage

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.