Enter some language construct you want to know more about.
This is the @get_index decorator.
The @get_index decorator is used to access a dynamic property on an object,
or an index of an array.
Example
ReScriptJS Output
type t
@newexternal create: unit => t ="Object"@set_indexexternal set: (t, string, int) => unit =""@get_indexexternal get: (t, string) => int =""let o = create()
o->set("x", 1)
o->set("y", 3)
o->set("z", 5)
let value = o->get("y")