UNPKG

@uxland/functional

Version:
2 lines (1 loc) 226 B
export declare const rejectNilOrEmpty: <K extends any[] | import("ramda").Dictionary<any>>(source: K) => K extends (infer U)[] ? U[] : K extends import("ramda").Dictionary<infer U_1> ? import("ramda").Dictionary<U_1> : never;