I think what you are looking for in Moo is called indexOf.
[1, 2, 3, 4].indexOf(3);and that will give you 2 as an answer because JavaScript starts counting at 0 not 1).
This is the jQuery index demo (at the bottom of the page): http://api.jquery.com/index/ Converted to moo: http://jsfiddle.net/kAsQZ/
