contains

infix fun List<ApplicationKey>.contains(networkKey: NetworkKey): Boolean

Checks whether any of the Application keys in the List is bound to the given network Key. The key comparison is based on Key Index property.

Return

True if any of the application keys in the list is bound to the given network key, false otherwise.

Parameters

networkKey

Network key to which the application keys are bound to.


operator fun UIntRange.contains(other: UIntRange): Boolean

Checks if the given range is within the range.

Return

true if the given range is within the range.

Parameters

other

Range to be checked.


operator fun List<Range>.contains(range: Range): Boolean

Checks if an element in the list of ranges contains the given range.

Return

true if the given range overlaps with any of the ranges in the list.

Parameters

range

Range to be checked.