You are here

2 January 2014

Checking that variable is a jQuery object. We are going to use instanceof and it returns true if the statement is true.

Source code viewer
  1. if ($ instanceof jQuery) {
  2. }
Programming Language: jQuery