Click or drag to resize

RankedSetTTryGetLessThanOrEqual Method

Gets the greatest item that is less than or equal to the supplied item.

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public bool TryGetLessThanOrEqual(
	T getItem,
	out T item
)

Parameters

getItem
Type: T
The item to use for comparison.
item
Type: T
The actual item if found; otherwise the default.

Return Value

Type: Boolean
true if item less than or equal to item found; otherwise false.
See Also