lastFromSet
lastFromSet<
T
>(set
):undefined
|T
Defined in: utils/set.ts:26
Gets the last element of a Set.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”Set
<T
>
The Set from which to retrieve the last element.
Returns
Section titled “Returns”undefined
| T
The last element of the Set, or undefined if the Set is empty.