BUPKIS
    Preparing search index...

    Variable errorAssertionConst

    errorAssertion: AssertionStandardSchemaSync<
        readonly [readonly ["to be an Error", "to be a Error"]],
        ZodCustom<Error, Error>,
        never,
    > = ...

    Asserts that the subject is an Error instance.

    expect(new Error('test'), 'to be an Error'); // passes
    expect('error', 'to be an Error'); // fails