is-jquery-obj

check if object is a jQuery object

The is-jquery-obj package has reached end-of-life and will not receive further updates.
Last updated 8 years ago by miherlosev .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install is-jquery-obj 
SYNC missed versions from official npm registry.

jQuery Object Identification

Provides a function that checks if the given object is a jQuery object.

Usage

const isJQueryObj = require('is-jquery-obj');
 
if(isJQueryObj($('#element')))
    console.log('$ is a jQuery object.');
    
if(!isJQueryObj({ foo: 'bar' }))    
    console.log('A regular JavaScript object is not a jQuery object.');

Current Tags

  • 0.1.1                                ...           latest (8 years ago)

2 Versions

  • 0.1.1 [deprecated]           ...           8 years ago
  • 0.1.0 [deprecated]           ...           8 years ago
Maintainers (1)
Downloads
Total 6
Today 2
This Week 6
This Month 6
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE