UNPKG

@techmely/utils

Version:

Collection of helpful JavaScript / TypeScript utils

16 lines (11 loc) 273 B
'use strict'; /*! * @techmely/utils * Copyright(c) 2021-2024 Techmely <techmely.creation@gmail.com> * MIT Licensed */ // src/isRegexp.ts function isRegExp(value) { return Object.prototype.toString.call(value) === "[object RegExp]"; } exports.isRegExp = isRegExp;