Interface: IUnorderedStrategy
Methods
matchFlag()
matchFlag(
input
:string
):Option
<string
,boolean
>
Matches a flag.
Parameters
Parameter | Type | Description |
---|---|---|
input | string | The string to match. |
Returns
Option
<string
, boolean
>
Defined in
parser/strategies/IUnorderedStrategy.ts:8
matchOption()
matchOption(
input
:string
):Option
<readonly [string
,string
],boolean
>
Matches an option.
Parameters
Parameter | Type | Description |
---|---|---|
input | string | The string to match. |
Returns
Option
<readonly [string
, string
], boolean
>