import { i as isObject } from './normalize-component-63e8c7a0.js';
import { w as wellKnownSymbol, c as classofRaw } from './export-ecf4b1cb.js';

var MATCH = wellKnownSymbol('match');

// `IsRegExp` abstract operation
// https://tc39.es/ecma262/#sec-isregexp
var isRegexp = function (it) {
  var isRegExp;
  return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classofRaw(it) == 'RegExp');
};

export { isRegexp as i };
