resolved(in:)
Returns the referenced image from the transcript.
Declaration
func resolved(in transcript: some Sequence<Transcript.Entry>) -> Transcript.ImageAttachment?Parameters
- transcript:
The transcript to resolve the reference against.
Return Value
The ImageAttachment for this reference, or nil if no attachment with label attachmentLabel is found in the transcript.
Discussion
If more than one attachment shares an attachmentLabel, the attachment from the latest entry is returned.