method z.ZodEnum.prototype.extractimport { z } from "https://deno.land/x/pup@1.0.0-alpha-20/deps.ts"; const { ZodEnum } = z; 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>>