set.lastWhere()
Description
Gets the last element of the calling Set that matches a provided predicate function.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
predicate |
true |
Anonymous predicate function that:
The method returns the last Set element for which the predicate returns true. |