asAttachment

open override val asAttachment: Attachment(source)

The option as an attachment.

Return

The option as an attachment.

Throws

if the option is not an attachment.