Skip to main content
Module

x/mtype/array.ts>ItemExist

通用 ts 的类型工具
Go to Latest
type alias ItemExist
import { type ItemExist } from "https://deno.land/x/mtype@v0.2.4/array.ts";

Type Parameters

V
optional
A = []
definition: A extends [infer F, ...infer P] ? V extends F ? V : ItemExist<V, P> : V