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
ce868249
...
ce868249cf2b99d02bdaf9a3c33f07756fc68019
authored
2011-12-30 13:22:40 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
added utils.isString()
1 parent
b1e9bede
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
modules/utils.js
modules/utils.js
View file @
ce86824
...
...
@@ -134,6 +134,11 @@ function isObject(value) {
}
exports
.
isObject
=
isObject
;
function
isString
(
value
)
{
return
isType
(
value
,
"string"
);
}
exports
.
isFunction
=
isFunction
;
/**
* Shorthands for checking if a value is of the given type. Can check for
* arrays.
...
...
Please
register
or
sign in
to post a comment