is-sinhalese

1.0.1 • Public • Published

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.

Package Sidebar

Install

npm i is-sinhalese

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

2.31 kB

Total Files

4

Last publish

Collaborators

  • ayesh