#142 ✓resolved
Cordeo

Wrong documentation of isUndefine

Reported by Cordeo | November 23rd, 2009 @ 12:06 PM

In the documentation as found at
http://api.prototypejs.org/language/object.html#isundefined-class_m...

isUndefined is documented to be true if the argument is of type string. That looks like a 'copy'-'paste'-'forget change' error:


isString
Object.isString(object) ⇒ Boolean

* object (Object) – The object to test.

Returns true if object is of type string; false otherwise.

isUndefined
Object.isUndefined(object) ⇒ Boolean

* object (Object) – The object to test.

Returns true if object is of type string; false otherwise.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Referenced by

Pages