https://ton.org/docs/develop/func/stdlib#uncons
uncons
works with lists, not regular tuples.
I've been trying to do the following using the uncons
function, but it doesn't destructure as I expect it to:
(var l, var rvalues) = uncons(values);
This question was imported from Telegram Chat: https://t.me/tondev_eng/9422
https://ton.org/docs/develop/func/stdlib#uncons
uncons
works with lists, not regular tuples.