text: // @ts-nocheck
  /**
   * @name        isRegexp
   * @namespace            js.is
   * @type      Function
   * @platform          js
   * @platform          ts
   * @platform          node
   * @status        beta
   *
   * Check if the passed value is a js Regexp
   *
   * @param    {Mixed}    value    The value to check
   * @return   {Regexp}   true if it's a Regexp, false if not
   *
   * @todo      interface
   * @todo      doc
   * @todo      tests
   *
   * @example    js
   * import isRegexp from '@coffeekraken/sugar/js/is/regexp'
   * if (isRegexp(/^hello$/g) {
   *   // do something
   * }
   *
   * @since       1.0.0
   * @author    Olivier Bossel <olivier.bossel@gmail.com> (https://olivierbossel.com)
   */
  function isRegexp(value) {
      return value && typeof value === 'object' && value.constructor === RegExp;
  }
  export default isRegexp;
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnZXhwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicmVnZXhwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWM7QUFFZDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0EwQkc7QUFDSCxTQUFTLFFBQVEsQ0FBQyxLQUFLO0lBQ3JCLE9BQU8sS0FBSyxJQUFJLE9BQU8sS0FBSyxLQUFLLFFBQVEsSUFBSSxLQUFLLENBQUMsV0FBVyxLQUFLLE1BQU0sQ0FBQztBQUM1RSxDQUFDO0FBQ0QsZUFBZSxRQUFRLENBQUMifQ==