import { ifElse } from "https://deno.land/x/rambda@9.3.0/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