BUPKIS
    Preparing search index...

    Variable stringLengthAssertionConst

    stringLengthAssertion: AssertionFunctionSync<
        readonly [ZodString, "to have length", ZodInt],
        (
            subject: string,
            expectedLength: number,
        ) => { actual: number; expected: number; message: string } | undefined,
        readonly [ZodString, PhraseLiteralSlot<"to have length">, ZodInt],
    > = ...

    Assertion for testing if a string has a specific length.

    expect('hello', 'to have length', 5); // passes
    expect('hi', 'to have length', 5); // fails

    string-to-have-length

    strings