Opened 14 years ago
Closed 14 years ago
#3936 closed bug (fixed)
Documentation for isFunction should specify what it works for
Reported by: | olau | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3.1 |
Component: | unfiled | Version: | 1.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
This is very easy to fix, I guess. I think it would be useful if the description of $.isFunction would specify what it positively does work for instead of just an example of what it doesn't work for. :)
Something like "It's guaranteed to work for blabla...".
Note: See
TracTickets for help on using
tickets.
I did some edits to the page.
http://docs.jquery.com/Utilities/jQuery.isFunction
If you are interested in why typeof(x)=="function" isn't sufficient, this thread will tell you more than you ever wanted to know.
http://groups.google.com/group/jquery-dev/browse_frm/thread/6cdececc7bec8194/25b22aac17cdf48b?#25b22aac17cdf48b