Skip to main content

Interface: IUnorderedStrategy

@sapphire/lexure.IUnorderedStrategy

Implemented by

Methods

matchFlag

matchFlag(input): Option<string>

Matches a flag.

Parameters

NameTypeDescription
inputstringThe 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

NameTypeDescription
inputstringThe string to match.

Returns

Option<readonly [string, string]>

Defined in

lib/parser/strategies/IUnorderedStrategy.ts:14