unwrap

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

Extension function for StylePropertyValue to unwrap StylePropertyValue to given type.

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