const castArray = val => (Array.isArray(val) ? val : [val]);