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:: ...@@ -452,6 +452,8 @@ Asserts that the provided input is of the given type::
452 452
453 **Signature:** ``assertInstanceOf(mixed input, Function constructor[, String message])`` 453 **Signature:** ``assertInstanceOf(mixed input, Function constructor[, String message])``
454 454
455 .. versionadded:: 1.1
456
455 Asserts that the provided input is of the given constructor:: 457 Asserts that the provided input is of the given constructor::
456 458
457 function Cow() { 459 function Cow() {
......
...@@ -27,6 +27,8 @@ Provides a better ``typeof`` operator equivalent, eg. able to retrieve the ``Arr ...@@ -27,6 +27,8 @@ Provides a better ``typeof`` operator equivalent, eg. able to retrieve the ``Arr
27 ``betterInstanceOf()`` 27 ``betterInstanceOf()``
28 ------------------------------------------------------------------------------- 28 -------------------------------------------------------------------------------
29 29
30 .. versionadded:: 1.1
31
30 **Signature:** ``betterInstanceOf(input, constructor)`` 32 **Signature:** ``betterInstanceOf(input, constructor)``
31 33
32 Provides a better ``instanceof`` operator equivalent, is able to retrieve the ``Array`` instance or to deal with inheritance. 34 Provides a better ``instanceof`` operator equivalent, is able to retrieve the ``Array`` instance or to deal with inheritance.
......