import { b as isObject } from './normalize-component-1b2cdbb6.js';
import { w as wellKnownSymbol, c as classofRaw } from './well-known-symbol-6e9136be.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 };
