dojo.isFunction

Deprecated. Will be removed in 2.0.

Use

typeof val == "function"

instead.