ifSolid

inline fun <T> BackgroundFill.ifSolid(block: (BackgroundFill.Solid) -> T): T?