rhai
rhai copied to clipboard
array.index_of: string argument got mistaken as function?
let array = ["hello"];
array.index_of("hello");
EXCEPTION: Function not found: hello (&str | ImmutableString | String, i64)
in call to function 'index_of' (line 2, position 7)