code: function isRegExp(value) {
      return value && objectTypes[typeof value] && toString.call(value) == regexpClass || false;
    }
docs: Checks if `value` is a regular expression.
  
  @static
  @memberOf _
  @category Objects
  @param {*} value The value to check.
  @returns {boolean} Returns `true` if the `value` is a regular expression, else `false`.
  @example
  
  _.isRegExp(/fred/);
  // => true