Interface: IUnorderedStrategy
@sapphire/lexure.IUnorderedStrategy
Implemented by
Methods
matchFlag
▸ matchFlag(input
): Option
<string
>
Matches a flag.
Parameters
Name | Type | Description |
---|---|---|
input | string | The string to match. |
Returns
Option
<string
>
Defined in
lib/parser/strategies/IUnorderedStrategy.ts:8
matchOption
▸ matchOption(input
): Option
<readonly [string
, string
]>
Matches an option.
Parameters
Name | Type | Description |
---|---|---|
input | string | The string to match. |
Returns
Option
<readonly [string
, string
]>