bupkis
    Preparing search index...

    Type Alias ParsedResult<Parts>

    Union type representing the result of parsing assertion arguments.

    This represents either a successful parse (containing validated arguments) or a parse failure (indicating arguments don't match the assertion). Used by parseValues() and parseValuesAsync() methods to communicate whether the assertion can be executed with the given arguments.

    Type Parameters

    // Successful parse
    const success: ParsedResult<Parts> = {
    success: true,
    exactMatch: true,
    parsedValues: [subject, ...params],
    };

    // Parse failure
    const failure: ParsedResult<Parts> = {
    success: false,
    };