5 lines
247 B
TypeScript
5 lines
247 B
TypeScript
export declare function isNil<T>(v: Nilable<T>): v is Nil;
|
|
export declare type Nullable<T> = T | null;
|
|
export declare type Nilable<T> = T | Nil;
|
|
export declare type Nil = null | undefined;
|
|
export declare function isBool(v: unknown): v is boolean;
|