Commit b840702c b840702c49d930c342d420e52232767151d48a40 by Mickaël Andrieu

Added documentation for new Utils.betterInstanceOf method()

1 parent 893e1eea
...@@ -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:
......