silentUnwrap

Extension function for StylePropertyValue to silently unwrap StylePropertyValue to given type.

Returns null if couldn't convert or type doesn't match.

inline fun <T> StylePropertyValue.silentUnwrap(): T?