Skip to content

ItemQueueItems.peek method

ItemQueueItems › peek

Unofficial

Return the next item without removing it.

Signature:

peek(): T | undefined

Returns: T | undefinedThe next item, or undefined if empty.