class Net::IMAP::ESearchResult

def partial; data.assoc("PARTIAL")&.last end

See also: #to_a

{[RFC5267]}[https://www.rfc-editor.org/rfc/rfc5267.html]
or CONTEXT=SEARCH/CONTEXT=SORT
Requires +PARTIAL+ {[RFC9394]}[https://www.rfc-editor.org/rfc/rfc9394.html]

UIDs that satisfy the SEARCH criteria.
A PartialResult containing a subset of the message sequence numbers or

:call-seq: partial -> PartialResult or nil
def partial;    data.assoc("PARTIAL")&.last    end