import { i as isObject } from './normalize-component-f552f2b0.js';
import { w as wellKnownSymbol, c as classofRaw } from './export-ca205aa3.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 };
