UNPKG

@qntm-code/utils

Version:

A collection of useful utility functions with associated TypeScript types. All functions have been unit tested.

11 lines (10 loc) 254 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isRegExp = void 0; /** * Determines whether a given value is a RegExp */ function isRegExp(value) { return value instanceof RegExp; } exports.isRegExp = isRegExp;