Type Alias InspectedType<T>

InspectedType<T>: {
    extends_1: T extends 1
        ? true
        : false;
    extends_1n: T extends 1n
        ? true
        : false;
    extends_a: T extends "a"
        ? true
        : false;
    extends_any: T extends any
        ? true
        : false;
    extends_array_unknown: T extends unknown[]
        ? true
        : false;
    extends_bigint: T extends bigint
        ? true
        : false;
    extends_boolean: T extends boolean
        ? true
        : false;
    extends_false: T extends false
        ? true
        : false;
    extends_function: T extends Function
        ? true
        : false;
    extends_never: T extends never
        ? true
        : false;
    extends_null: T extends null
        ? true
        : false;
    extends_number: T extends number
        ? true
        : false;
    extends_object: T extends object
        ? true
        : false;
    extends_string: T extends string
        ? true
        : false;
    extends_symbol: T extends symbol
        ? true
        : false;
    extends_true: T extends true
        ? true
        : false;
    extends_tuple_empty: T extends []
        ? true
        : false;
    extends_undefined: T extends undefined
        ? true
        : false;
    extends_unknown: T extends unknown
        ? true
        : false;
    extends_void: T extends void
        ? true
        : false;
    intersect_1: T & 1;
    intersect_1n: T & 1n;
    intersect_a: T & "a";
    intersect_any: T & any;
    intersect_array_unknown: T & unknown[];
    intersect_bigint: T & bigint;
    intersect_boolean: T & boolean;
    intersect_false: T & false;
    intersect_function: T & Function;
    intersect_never: T & never;
    intersect_null: T & null;
    intersect_number: T & number;
    intersect_object: T & object;
    intersect_string: T & string;
    intersect_symbol: T & symbol;
    intersect_true: T & true;
    intersect_tuple_empty: T & [];
    intersect_undefined: T & undefined;
    intersect_unknown: T & unknown;
    intersect_void: T & void;
    type: T;
    union_1: T | 1;
    union_1n: T | 1n;
    union_a: T | "a";
    union_any: T | any;
    union_array_unknown: T | unknown[];
    union_bigint: T | bigint;
    union_boolean: T | boolean;
    union_false: T | false;
    union_function: T | Function;
    union_never: T | never;
    union_null: T | null;
    union_number: T | number;
    union_object: T | object;
    union_string: T | string;
    union_symbol: T | symbol;
    union_true: T | true;
    union_tuple_empty: T | [];
    union_undefined: T | undefined;
    union_unknown: T | unknown;
    union_void: T | void;
    extends<R>(): T extends R
        ? true
        : false;
    intersect<R>(): T & R;
    union<R>(): T | R;
}

Type Parameters

  • T