MCPcopy Create free account
hub / github.com/apache/struts-examples / isRegExp

Function isRegExp

rest-angular/src/main/webapp/js/lib/angular/angular.js:684–686  ·  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

682 * @returns {boolean} True if `value` is a `RegExp`.
683 */
684function isRegExp(value) {
685 return toString.call(value) === '[object RegExp]';
686}
687
688
689/**

Callers 3

baseExtendFunction · 0.70
equalsFunction · 0.70
adjustMatcherFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected