is-quick-hash
Version:
Checks if a string looks like a hash generated by quick-hash
26 lines (19 loc) • 1.19 kB
Markdown
# is-quick-hash
<!-- VDOC.badges travis; standard; npm; coveralls -->
<!-- DON'T EDIT THIS SECTION (including comments), INSTEAD RE-RUN `vdoc` TO UPDATE -->
[](https://travis-ci.org/vigour-io/is-quick-hash)
[](http://standardjs.com/)
[](https://badge.fury.io/js/is-quick-hash)
[](https://coveralls.io/github/vigour-io/is-quick-hash?branch=master)
<!-- VDOC END -->
<!-- VDOC.jsdoc isQuickHash -->
<!-- DON'T EDIT THIS SECTION (including comments), INSTEAD RE-RUN `vdoc` TO UPDATE -->
#### var looksLikeQuickHash = isQuickHash(val)
Checks if a string looks like a hash generated by quick-hash
- **val** (*string*) - the string to check
- **returns** (*boolean*) looksLikeQuickHash - `true` if `val` looks like a hash generated by quick-hash, `false` otherwise
<!-- VDOC END -->
```javascript
var isHash = require('is-quick-hash')
isHash('asd654') // true
```