Creates a successful ParseResult with an undefined value. Use this to signal success in cases where no value is required.
Signature:
export declare function ok(offset: number): ParseResult<undefined>;
Parameter | Type | Description |
---|---|---|
offset | number | The offset in the input at which to continue parsing |
Returns:
ParseResult<undefined>