deno.land / x / rambda@v9.1.1 / src / prepend.js
12345678export function prepend(x, input){ if (arguments.length === 1) return _input => prepend(x, _input)
if (typeof input === 'string') return [ x ].concat(input.split(''))
return [ x ].concat(input)}
Version Info