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