import toCurrency from './toCurrency'; export default function (value) { if (value == null || value === '') return () => '-'; return () => toCurrency(value); }