BUPKIS
    Preparing search index...

    Variable typeOfAssertionConst

    typeOfAssertion: AssertionFunctionSync<
        readonly [
            ZodUnknown,
            readonly ["to be a", "to be an", "to have type"],
            ZodEnum<{ [key: string]: string }>,
        ],
        (
            _: unknown,
            type: string,
        ) =>
            | ZodString
            | ZodCustom<
                (...args: unknown[] | readonly unknown[]) => unknown,
                (...args: unknown[] | readonly unknown[]) => unknown,
            >
            | ZodNumber
            | ZodSymbol
            | ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>
            | ZodBoolean
            | ZodBigInt
            | ZodNull
            | ZodUndefined
            | ZodArray<ZodUnknown>
            | ZodCustom<RegExp, RegExp>
            | ZodDate
            | ZodCustom<WeakSet<WeakKey>, WeakSet<WeakKey>>
            | ZodCustom<WeakMap<WeakKey, unknown>, WeakMap<WeakKey, unknown>>
            | ZodCustom<Error, Error>
            | ZodCustom<WeakRef<WeakKey>, WeakRef<WeakKey>>
            | ZodObject<{}, $loose>,
        readonly [
            ZodUnknown,
            PhraseLiteralChoiceSlot<readonly ["to be a", "to be an", "to have type"]>,
            ZodEnum<{ [key: string]: string }>,
        ],
    > = ...

    Assertion for testing if a value is of a specific built-in type.

    expect('hello', 'to be a', 'string'); // passes
    expect(42, 'to be an', 'Array'); // fails
    expect([], 'to be a', 'array'); // passes