Merge pull request #622 from mickaelandrieu/master
Tagged betterInstanceOf & assertion as 1.1
Showing
2 changed files
with
4 additions
and
0 deletions
... | @@ -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. | ... | ... |
-
Please register or sign in to post a comment