optics-ts icon indicating copy to clipboard operation
optics-ts copied to clipboard

"remove" doesn't really removes array element but rather replaces it with a `Symbol(__remove_me__)`

Open mfarsikov opened this issue 11 months ago • 0 comments

Expected outcome for O.remove(O.optic<number[]>().nth(0))([1]) is: [], but actual result is: [Symbol(__remove_me__)]

mfarsikov avatar Jul 03 '23 23:07 mfarsikov