Check to see if a CSS selector string has an id.
npm install has-id-selectorCheck to see if a CSS selector string has an id.
``bash`
npm install --save has-id-selector
`javascript
var hasIdSelector = require('has-id-selector')
hasIdSelector('#foobar') // => true
hasIdSelector('.foobar') // => false
`
MIT
1. Fork it
2. Create your feature branch (git checkout -b my-new-feature)git commit -am 'Add some feature'
3. Commit your changes ()git push origin my-new-feature`)
4. Push to the branch (
5. Create new Pull Request
Crafted with <3 by John Otander (@4lpine).