MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / isRegExp

Function isRegExp

code/songhop/www/lib/angular/angular.js:606–608  ·  view source on GitHub ↗

* Determines if a value is a regular expression object. * * @private * @param {*} value Reference to check. * @returns {boolean} True if `value` is a `RegExp`.

(value)

Source from the content-addressed store, hash-verified

604 * @returns {boolean} True if `value` is a `RegExp`.
605 */
606function isRegExp(value) {
607 return toString.call(value) === '[object RegExp]';
608}
609
610
611/**

Callers 3

copyFunction · 0.70
equalsFunction · 0.70
adjustMatcherFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected