Convert an object into a specific type
as_type(x, type)
x
an object to convert
type
the targeted type