7 ms·
I mean if I have a NonEmptyArray say xs, and I then xs.map(x=>2*x), will the result of this expression be a NonEmptyArray ?
by throwaway09432 4y ago
I mean if I have a NonEmptyArray say xs, and I then xs.map(x=>2*x), will the result of this expression be a NonEmptyArray ?
- triyambakam 3y agoNo, unfortunately it will just be number[] as the return type.