UNPKG

@frui.ts/helpers

Version:
5 lines (4 loc) 290 B
export declare function isArrayLike<T = any>(item: any): item is T[]; export declare function isSet<T = any>(item: any): item is Set<T>; export declare function isMap<K = any, V = any>(item: any): item is Map<K, V>; export declare function onlyDefined<T>(input: T | undefined): input is T;