Sign In

$regexHasFlags[]

Returns whether the regex has all given flags

New v1.1.0+ Requires Brackets

Usage

$regexHasFlags[;]

Arguments

NameTypeRequiredDescription
name
StringYesThe name of the regex
...flags
YesThe flags to check for

Output

Boolean

Was this page helpful?