THT
Install
Manual
Version: v0.8.1 - Beta. We welcome
contributors & feedback
.
Home
Manual
Object
Object.isRegex
isRegex() -> boolean
Description
Returns true if the variable is a Regex.
$pattern = rx'\w+'i $pattern.isRegex() //= true
See Also
isFunction
isList
isMap
isNumber
isString
isTypeString
type
zClassName
Back: Object