Hey everyone,
I am trying to get a value from a Js.Dict.t
that holds array<string>
as its values then grab a value from that array by its index via Belt.Array.get
but its being very strange and returning an error that its actually returning option<array<string>>
where I would suspect just option<string>
This in theory makes sense, but when I go about accessing the next level of arrays, I end up getting just the first character of each string in the array… I think I might be confused or at least confusing myself with the Js.Dict api
Here is a playground as an example:
Thanks!
Dan