BUPKIS
    Preparing search index...

    Variable infiniteAssertionConst

    infiniteAssertion: AssertionStandardSchemaSync<
        readonly ["to be infinite"],
        ZodUnion<[ZodLiteral<number>, ZodLiteral<number>]>,
        never,
    > = ...

    Asserts that the subject is either positive or negative infinity.

    expect(Infinity, 'to be infinite'); // passes
    expect(-Infinity, 'to be infinite'); // passes
    expect(42, 'to be infinite'); // fails