Skip to content

Commit cf57849

Browse files
committed
Merge pull request coffeescript-cookbook#118 from atabas/master
Pointed some text in type-function to a link
2 parents 0a40646 + 65118b7 commit cf57849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapters/classes_and_objects/type-function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Use the following function:
3030

3131
## Discussion
3232

33-
This function was modeled on jQuery's $.type function. (http://api.jquery.com/jQuery.type/)
33+
This function was modeled on jQuery's [$.type function](http://api.jquery.com/jQuery.type/).
3434

3535
Note that, as an alternative to type checking, you can often use duck typing and the existential operator together to eliminating the need to examine an object's type, in certain cases. For example, here is exception-free code that pushes an element to an array, if myArray is in fact an array (or array-like, with a push function), and does nothing otherwise.
3636

0 commit comments

Comments
 (0)