contains-burmese

A library to check whether a string contains any Burmese text.

Usage no npm install needed!

<script type="module">
  import containsBurmese from 'https://cdn.skypack.dev/contains-burmese';
</script>

README

Contains Burmese

This package provides a way to check whether a string contains Burmese text.

Install

npm i contains-burmese

Usage

const { containsBurmese } = require('contains-burmese');

let result = containsBurmese('မြန်မာနိုင်ငံ Myanmar Country');
console.log(`containsBurmese: ${result}`);

The function will return true if there is at least one Burmese character in the string.