MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / isRegExp

Function isRegExp

web/static/bower_components/angular/angular.js:695–697  ·  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

693 * @returns {boolean} True if `value` is a `RegExp`.
694 */
695function isRegExp(value) {
696 return toString.call(value) === '[object RegExp]';
697}
698
699
700/**

Callers 4

baseExtendFunction · 0.85
copyFunction · 0.85
equalsFunction · 0.85
adjustMatcherFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected