Bug Tracker

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:


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...".

Change History (1)

comment:1 Changed 14 years ago by dmethvin

Resolution: fixed
Status: newclosed

I did some edits to the page.


If you are interested in why typeof(x)=="function" isn't sufficient, this thread will tell you more than you ever wanted to know.


Note: See TracTickets for help on using tickets.