@wonderful-table-85939 from the CEO himself:
"The reason for not having indexOf is quite simply that we, well, hadn't made it
But it's a valid feature request for sure
You should be able to use numeric indexes on function outputs but I'm not sure it's been tested
Could be an issue"