Fuzion Logo
flang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

write

🌌io.file.write

write -- effect providing writing operations for files

takes an array of bytes and writes all of it into the file presented in the path
in case the file does not exist it creates it,
in case the file exists it overwrites it,
this feature works when the directories present in the path exist otherwise an error will be returned
in case of success a unit type will be the outcome otherwise an error will be the outcome