Function instanceof

  • Type Parameters

    • T extends typeof Class

    Parameters

    • cls: T
    • Optionalparams: CustomParams

    Returns Zod.z.ZodType<InstanceType<T>, Zod.z.ZodTypeDef, InstanceType<T>>