Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
c11a69c5
...
c11a69c50fb901ae9af441ad5cab9ed7ff16dbd6
authored
2013-09-12 10:49:17 +0200
by
Mickaël Andrieu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Tagged betterInstanceOf & assertion as 1.1
1 parent
54fb4c03
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
docs/modules/tester.rst
docs/modules/utils.rst
docs/modules/tester.rst
View file @
c11a69c
...
...
@@ -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() {
...
...
docs/modules/utils.rst
View file @
c11a69c
...
...
@@ -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.
...
...
Please
register
or
sign in
to post a comment