Added documentation for new Utils.betterInstanceOf method()
Showing
1 changed file
with
7 additions
and
0 deletions
... | @@ -24,6 +24,13 @@ Usage is pretty much straightforward:: | ... | @@ -24,6 +24,13 @@ Usage is pretty much straightforward:: |
24 | 24 | ||
25 | Provides a better ``typeof`` operator equivalent, eg. able to retrieve the ``Array`` type. | 25 | Provides a better ``typeof`` operator equivalent, eg. able to retrieve the ``Array`` type. |
26 | 26 | ||
27 | ``betterInstanceOf()`` | ||
28 | ------------------------------------------------------------------------------- | ||
29 | |||
30 | **Signature:** ``betterInstanceOf(input, constructor)`` | ||
31 | |||
32 | Provides a better ``instanceof`` operator equivalent, eg. able to retrieve the ``Array`` type or to deal with inheritance. | ||
33 | |||
27 | .. index:: dump, Serialization, Debugging, JSON | 34 | .. index:: dump, Serialization, Debugging, JSON |
28 | 35 | ||
29 | .. _utils_dump: | 36 | .. _utils_dump: | ... | ... |
-
Please register or sign in to post a comment