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

Function isRegExp

lib/test/angular/1.6.7/angular.js:818–820  ·  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

816 * @returns {boolean} True if `value` is a `RegExp`.
817 */
818function isRegExp(value) {
819 return toString.call(value) === '[object RegExp]';
820}
821
822
823/**

Callers 3

baseExtendFunction · 0.70
equalsFunction · 0.70
adjustMatcherFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected