From fd29dbb2a0657498879876e89d9c46992f81b94d Mon Sep 17 00:00:00 2001
From: Aurelio De Rosa
As of jQuery 3.3, jQuery.isFunction()
has been deprecated. In most cases, its use can be replaced by typeof x === "function"
.
Note: As of jQuery 1.3, functions provided by the browser like alert()
and DOM element methods like getAttribute()
are not guaranteed to be detected as functions in browsers such as Internet Explorer.