Commit ce868249 ce868249cf2b99d02bdaf9a3c33f07756fc68019 by Nicolas Perriault

added utils.isString()

1 parent b1e9bede
......@@ -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.
......