tensorstore.Dim.__contains__(self, inner: Dim) bool

Checks if the interval contains another interval.

Examples

>>> ts.Dim(inclusive_min=1, exclusive_max=5) in ts.Dim(10)
True
>>> ts.Dim(inclusive_min=1, exclusive_max=5) in ts.Dim(4)
False