To use the isRegExp
function from lodash in javascript, you need to follow these steps:
index.tsx19 chars2 lines
isRegExp
function from lodash in your javascript code:index.tsx40 chars2 lines
isRegExp
function to check if a value is a regular expression:index.tsx143 chars6 lines
The isRegExp
function returns true if the value passed to it is a regular expression, and false otherwise.
gistlibby LogSnag