int[] a = [77,66,55,44];
I want to do something like:
int i = a.find_value_returning_its_index(55);
assert(i==2)
I'm sure it's obvious but I'm not seeing it right now.
Daren Scot Wilson via Digitalmars-d-learn Sun, 29 Dec 2019 00:31:13 -0800
int[] a = [77,66,55,44];
I want to do something like:
int i = a.find_value_returning_its_index(55);
assert(i==2)
I'm sure it's obvious but I'm not seeing it right now.