jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
15 lines (11 loc) • 399 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
function buildFormatLongFn(args) {
return function (dirtyOptions) {
var options = dirtyOptions || {};
var width = options.width ? String(options.width) : args.defaultWidth;
var format = args.formats[width] || args.formats[args.defaultWidth];
return format;
};
}
exports.default = buildFormatLongFn;