updeep-remeda/esm/ifElse.d.ts

8 lines
355 B
TypeScript
Raw Permalink Normal View History

2023-01-03 18:51:35 +00:00
type Predicate = ((source: any) => boolean) | boolean;
2023-01-03 19:31:53 +00:00
export interface IfElse {
2023-01-03 18:51:35 +00:00
(object: any, predicate: Predicate, trueUpdates: any, falseUpdates: any): unknown;
(predicate: Predicate, trueUpdates: any, falseUpdates: any): (unknown: any) => unknown;
}
declare const _default: IfElse;
export default _default;
//# sourceMappingURL=ifElse.d.ts.map