package moe.nea.firmament.util import java.util.Optional fun T?.intoOptional(): Optional = Optional.ofNullable(this)