payloadAs

inline fun <T> DayInfo.payloadAs(): T?

Type-safe extraction of DayInfo.payload, returning null if absent or of a different type.