something like that? ``` require(geometry is LineS...
# announcements
n
something like that?
Copy code
require(geometry is LineString) { "Wrong geometry type in string" }
val line = geometry as LineString
return line
n
Sure, but I will get an UnsafeCast warning that I need to Suppress