BUPKIS
    Preparing search index...

    Variable stringEndsWithAssertionConst

    stringEndsWithAssertion: AssertionFunctionSync<
        readonly [ZodString, "to end with", ZodString],
        (subject: string, suffix: string) => { message: string } | undefined,
        readonly [ZodString, PhraseLiteralSlot<"to end with">, ZodString],
    > = ...

    Assertion for testing if a string ends with a specific suffix.

    expect('hello world', 'to end with', 'world'); // passes
    expect('hello world', 'to end with', 'hello'); // fails