do you have to create your own custom sequence in ...
# announcements
v
do you have to create your own custom sequence in order to make a range on a custom object?
n
according to the docs you should be fine if you implement the
rangeTo
operator
as for whether you need to create your own sequence...I think you can return whatever you want
v
Yeah, it looks like making a range that can be iterated is optional. For my purposes I just need be able to use in/contains on the custom object’s range