MCPcopy Create free account
hub / github.com/bclinkinbeard/angular / isRegExp

Function isRegExp

test/fixtures/foo.js:628–630  ·  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

626 * @returns {boolean} True if `value` is a `RegExp`.
627 */
628function isRegExp(value) {
629 return toString.call(value) === '[object RegExp]';
630}
631
632
633/**

Callers 3

copyFunction · 0.85
equalsFunction · 0.85
adjustMatcherFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected