1 export const ifUndefined
= <T
>(value
: T
| undefined, isValue
: T
): T
=> {
2 if (value
=== undefined) return isValue
6 // export const compose = <T>(...fns: ((arg: T) => T)[]): ((x: T) => T) => {
7 // return (x: T) => fns.reduceRight((y, fn) => fn(y), x)