unwrap

Extension function for StylePropertyValue to unwrap StylePropertyValue to given type.

Throws exception if couldn't convert or type doesn't match.

inline fun <T> StylePropertyValue.unwrap(): T