to_field
Converts the input value to a scalar or vector field, depending on the type of the value. This provides a quick and convenient way to convert many types to a field, but not every type is supported.