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