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
b840702c
...
b840702c49d930c342d420e52232767151d48a40
authored
2013-09-10 22:31:53 +0200
by
Mickaël Andrieu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Added documentation for new Utils.betterInstanceOf method()
1 parent
893e1eea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
docs/modules/utils.rst
docs/modules/utils.rst
View file @
b840702
...
...
@@ -24,6 +24,13 @@ Usage is pretty much straightforward::
Provides a better ``typeof`` operator equivalent, eg. able to retrieve the ``Array`` type.
``betterInstanceOf()``
-------------------------------------------------------------------------------
**Signature:** ``betterInstanceOf(input, constructor)``
Provides a better ``instanceof`` operator equivalent, eg. able to retrieve the ``Array`` type or to deal with inheritance.
.. index:: dump, Serialization, Debugging, JSON
.. _utils_dump:
...
...
Please
register
or
sign in
to post a comment