MCPcopy Create free account
hub / github.com/Stuk/jszip / isRegExp

Function isRegExp

lib/object.js:160–162  ·  view source on GitHub ↗

* Cross-window, cross-Node-context regular expression detection * @param {Object} object Anything * @return {Boolean} true if the object is a regular expression, * false otherwise

(object)

Source from the content-addressed store, hash-verified

158* false otherwise
159*/
160function isRegExp(object) {
161 return Object.prototype.toString.call(object) === "[object RegExp]";
162}
163
164// return the actual prototype of JSZip
165var out = {

Callers 1

object.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected