source: node_modules/ts-toolbelt/out/Union/Has.d.ts

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

Initial commit

  • Property mode set to 100644
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 */
10export 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.