Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dpassen/is-cowboy
Checks whether a value is a cowboy
https://github.com/dpassen/is-cowboy
Last synced: 7 days ago
JSON representation
Checks whether a value is a cowboy
- Host: GitHub
- URL: https://github.com/dpassen/is-cowboy
- Owner: dpassen
- License: mit
- Created: 2017-05-21T20:25:49.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2020-08-10T23:19:07.000Z (over 4 years ago)
- Last Synced: 2024-11-18T05:51:48.668Z (25 days ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- stars - dpassen/is-cowboy - Checks whether a value is a cowboy \[*MIT License*\] (⭐️2) (JavaScript)
- stars - dpassen/is-cowboy - Checks whether a value is a cowboy \[*MIT License*\] (⭐️2) (JavaScript)
README
# is-cowboy
Checks whether a value is a cowboy
> 'A waste of time.' - Some
> 'An incredible waste of time.' - Others
## Installation
```shell
$ npm install is-cowboy
$ npm test
```## Example
```js
var cowboy = require('is-cowboy');cowboy(); //false
cowboy(''); //false
cowboy('🤠'); //true
```## API
### isCowboy(value)
Check whether `value` is a cowboy.
## License
MIT