is-currency-symbol
v1.3.0
Published
Validates whether a given input is a valid currency symbol
Downloads
192
Maintainers
Readme
💰 is-currency-symbol
Validates whether a given input is a valid currency symbol.
Installation
npm install is-currency-symbol
Usage
const isCurrencySymbol = require('is-currency-symbol');
isCurrencySymbol('$'); // true
isCurrencySymbol('#'); // false
Contributing
git clone [email protected]:hugomd/is-currency-symbol.git
npm install
- Make your changes
- Open a pull request and ask for review ✌️
- Optional: use emoji in your commits 🔥