isdragon
v1.0.4
Published
Checks if a value is a dragon
Maintainers
Readme
isdragon
Checks if a value is a dragon.
Installation
npm install isdragonUsage
const { isdragon } = require("isdragon");
console.log(isdragon("🐉")); // trueAPI
isdragon(value)
| Param | Type | Description |
| ------ | ----- | ------------------------------- |
| value | any | Value to check for dragon-ness. |
Returns a boolean, or undefined if the dragonicity of the value cannot
be determined
Development
# Run tests
npm test
# Publish new version
npm PublishLicense
MIT License
Copytight (C) Dragons
