Created
June 7, 2013 22:09
-
-
Save legumbre/5732760 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sequence_item_by_name(sequence_name, group_name, item_name) | |
return table.find(sequences[sequence_name][group_name], | |
function (k, item) return type(k)=="number" and item.name==_(item_name) and k end) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment