TIPO DE REGEX

// use instanceof to determine the "type of" RegExp object
if (object instanceof RegExp) {}
SubZ390