from text to(value type, text)value Type: For any types t where Readable t(@apply Type(t), Text) -> t

Converts a value from text, specifying the target type.

See from text(..) for more details.

ExamplesClick an example to insert it
from text to(type{Date}, "21 March 2004")date from ymd(2004{year}, 3{month}, 21{day})
from text to(type{[(a:Boolean, b:Number{m})]}, "[(a:True, b:0), (a:FALSE, b:-1.6)]")[(a:true, b:0{m}), (a:false, b:-1.6{m})]