If I want eachindex but only of a specific dimension, what's a good way to accomplish this?
E.g. x is a 3x5x7 Array
x = rand(3,5,7)
And I'd like to get the 2nd dimension's indexes of 1:5, ideally in a way that doesn't assume that the indexing starts at 1