import { Mapper } from './index' export const callMB = (mapper: Mapper) => (input: In | undefined) => input ? mapper(input) : undefined