diff --git a/web/core/src/jsMain/kotlin/org/jetbrains/compose/web/css/StylePropertyValue.kt b/web/core/src/jsMain/kotlin/org/jetbrains/compose/web/css/StylePropertyValue.kt index cc9218f988..0e508d8877 100644 --- a/web/core/src/jsMain/kotlin/org/jetbrains/compose/web/css/StylePropertyValue.kt +++ b/web/core/src/jsMain/kotlin/org/jetbrains/compose/web/css/StylePropertyValue.kt @@ -14,12 +14,6 @@ external interface StylePropertyString: StylePropertyValue inline fun StylePropertyValue(value: String): StylePropertyString = value.unsafeCast() inline fun StylePropertyValue(value: Number): StylePropertyNumber = value.unsafeCast() -fun StylePropertyValue.asString(): String? = if (jsTypeOf(this) == "string") this.unsafeCast() else null - -fun StylePropertyValue.asNumber(): Number? = if (jsTypeOf(this) == "number") this.unsafeCast() else null - -fun StylePropertyValue.asCSSStyleValue(): CSSStyleValue? = if (jsTypeOf(this) == "object") this.unsafeCast() else null - external interface CSSStyleValue: StylePropertyValue { override fun toString(): String }