whenSignedMessage

inline fun <T> Message.whenSignedMessage(block: (SignedMessage) -> T): T?