applies

IntervalItem.applies(index: float | None) bool[source]

Check if the index is in the intervals.

Parameters:

index (float) – The index.

Return type:

bool