Constructors
constructor
Defined in lib/components/condition.d.ts:43
Parameters
Properties
captured
get captured( ) : undefined | string | object
Returns undefined
|
string
|
object
captures
captures: object
Type declaration
[ key: number ]: string | undefined
expressions
expressions: object
match
get match( ) : undefined | false | true | RegExpMatchArray
Returns undefined
|
false
|
true
|
RegExpMatchArray
matched
get matched( ) : undefined | RegExpMatchArray | object
Returns undefined
|
RegExpMatchArray
|
object
matches
matches: object
Type declaration
[ key: number ]: RegExpMatchArray | undefined
Methods
add
add( condition: string | RegExp | Condition , key?: string | number ) : this
Defined in lib/components/condition.d.ts:45
Parameters
condition: string | RegExp | Condition
Optional key: string | number
Returns this
clear
Defined in lib/components/condition.d.ts:60
Returns void
clearAll
Defined in lib/components/condition.d.ts:61
Returns void
exec
exec( str: string ) : object
Defined in lib/components/condition.d.ts:46
Parameters
Returns object
[ key: number ]: RegExpMatchArray | undefined
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Convert range of arguments into a collection of regular expressions. Config changes flags and filtering. Multiple conditions can be combined.