-
-
Save felipepodesta/78467d3b06adb037854f716028fa4ef2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Jquery exists function | |
| /** | |
| * jQuery exists() method can check if a selector matches or not | |
| * @return {boolean} | |
| */ | |
| jQuery.fn.exists = function() { | |
| return this.length; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment