Get an item at given index of an array/string wrapped in Opt.
Resulting value is wrapped in Opt.
Non-existent index results in None.
Negative index is interpreted as an index from the end of the array (e.g. a last item of an array lies on an index equal to -1).
Get an item at given index of an array/string wrapped in Opt. Resulting value is wrapped in Opt. Non-existent index results in None. Negative index is interpreted as an index from the end of the array (e.g. a last item of an array lies on an
index
equal to-1
).