export function option(condition: T, getElse: U) { if (!condition) { return getElse } return condition }