import { ifElse } from "https://deno.land/x/rambda@9.4.1/files/index.d.ts";
Parameters
onTrue: (a: TFiltered) => TOnTrueResult
onFalse: (a: Exclude<T, TFiltered>) => TOnFalseResult
Returns
(a: T) => TOnTrueResult | TOnFalseResult
Parameters
fn: (...args: TArgs) => boolean
onTrue: (...args: TArgs) => TOnTrueResult
onFalse: (...args: TArgs) => TOnFalseResult
Returns
(...args: TArgs) => TOnTrueResult | TOnFalseResult