Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>Community.IncludesDeep

👷 TypeScript's largest type utility library, now on Deno
Latest
type alias Community.IncludesDeep
import { type Community } from "https://deno.land/x/ts_toolbelt_unofficial@1.1.0/mod.ts";
const { IncludesDeep } = Community;

Check whether O, or its sub-objects have fields that match M where the maximum allowed depth is set with limit.

Examples

Example 1

Type Parameters

O extends object
M extends any
optional
match extends Match = "default"
optional
limit extends number = 10
definition: _IncludesDeep<O, M, match, limit> extends infer X ? Cast<X, Boolean> : never