UNPKG

ramda-extension

Version:

Helpful functions built on top of the mighty Ramda

18 lines (17 loc) 280 B
import { is } from 'ramda'; /** * Returns true if argument is RegExp. * * @func * @category Type * * @example * * R_.isRegExp(/foo/) // true * R_.isRegExp(0) // false * * @sig a -> Boolean * */ var isRegExp = /*#__PURE__*/is(RegExp); export default isRegExp;