Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.

DevExpress/is-jquery-obj

Repository files navigation

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.');

About

Checks if the given object is a jQuery object

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •