source: node_modules/ts-toolbelt/out/List/Includes.d.ts@ d24f17c

main
Last change on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 521 bytes
Line 
1import { Match } from '../Any/_Internal';
2import { Includes as OIncludes } from '../Object/Includes';
3import { ObjectOf } from './ObjectOf';
4import { List } from './List';
5/**
6 * Check whether `L` has entries that match `M`
7 * @param L to be inspected
8 * @param M to check entry type
9 * @param match (?=`'default'`) to change precision
10 * @returns [[Boolean]]
11 * @example
12 * ```ts
13 * ```
14 */
15export declare type Includes<L extends List, M extends any, match extends Match = 'default'> = OIncludes<ObjectOf<L>, M, match>;
Note: See TracBrowser for help on using the repository browser.