MCPcopy
hub / github.com/angular-ui/ui-router / isRegExp

Function isRegExp

test/angular/1.4/angular.js:714–716  ·  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

712 * @returns {boolean} True if `value` is a `RegExp`.
713 */
714function isRegExp(value) {
715 return toString.call(value) === '[object RegExp]';
716}
717
718
719/**

Callers 4

baseExtendFunction · 0.70
copyElementFunction · 0.70
equalsFunction · 0.70
adjustMatcherFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected