read_file

Read file contents

Reads the entire content of a file into a string. Returns a FileError value when the file cannot be read.

Parameters

Returns

The file content.

Examples

read_file("config.json")