method ZodEnum.prototype.extractimport { ZodEnum } from "https://dotland.deno.dev/x/zod@v3.22.1/index.ts"; extract<ToExtract extends readonly [T[number], ...T[number][]]>(values: ToExtract): ZodEnum<Writeable<ToExtract>>Type ParametersToExtract extends readonly [T[number], ...T[number][]]Parametersvalues: ToExtractReturnsZodEnum<Writeable<ToExtract>>