MCPcopy Create free account
hub / github.com/OpenReservation/OpenReservation / isRegExp

Function isRegExp

OpenReservation/wwwroot/Scripts/angular.js:672–674  ·  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

670 * @returns {boolean} True if `value` is a `RegExp`.
671 */
672 function isRegExp(value) {
673 return toString.call(value) === '[object RegExp]';
674 }
675
676 /**
677 * Checks if `obj` is a window object.

Callers 3

baseExtendFunction · 0.85
equalsFunction · 0.85
adjustMatcherFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected