Commit 2ab46f47 2ab46f47d72353a83d5a32d870021d5552963a29 by Nicolas Perriault

Merge pull request #622 from mickaelandrieu/master

Tagged betterInstanceOf & assertion as 1.1
2 parents 54fb4c03 c11a69c5
......@@ -452,6 +452,8 @@ Asserts that the provided input is of the given type::
**Signature:** ``assertInstanceOf(mixed input, Function constructor[, String message])``
.. versionadded:: 1.1
Asserts that the provided input is of the given constructor::
function Cow() {
......
......@@ -27,6 +27,8 @@ Provides a better ``typeof`` operator equivalent, eg. able to retrieve the ``Arr
``betterInstanceOf()``
-------------------------------------------------------------------------------
.. versionadded:: 1.1
**Signature:** ``betterInstanceOf(input, constructor)``
Provides a better ``instanceof`` operator equivalent, is able to retrieve the ``Array`` instance or to deal with inheritance.
......