source:
node_modules/ts-toolbelt/out/Union/Has.d.ts
Last change on this file was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 241 bytes |
Line | |
---|---|
1 | /** |
2 | * Check whether `U` contains `U1` |
3 | * @param U to be inspected |
4 | * @param U1 to check within |
5 | * @returns [[Boolean]] |
6 | * @example |
7 | * ```ts |
8 | * ``` |
9 | */ |
10 | export declare type Has<U extends any, U1 extends any> = [ |
11 | U1 |
12 | ] extends [U] ? 1 : 0; |
Note:
See TracBrowser
for help on using the repository browser.