as type(type, value)value
Type:
For any types t(@apply Type(t), t) -> t
Clarifies the type of a value.
No processing is done on the value; this function is only for specifying a type when
it is ambiguous and you get a type error. For conversions, see functions like conversion:from text(..).
ExamplesClick an example to insert it
as type(type{Boolean}, from text("True"))→trueSpecifies that the destination type of the conversion from text is Boolean.
as type(type{[Date]}, [])→[]Specifies that the given empty list is a list of dates.