def file.text_of

snap@1.4.0.0 · src/file.bend:99

import snap@1.4.0.0/src/file.bend as File
import Base

99# a file's text, or "" when there is none
100def file.text_of(got: Maybe<&2, String>) -> String:
101  match got:
102    case None{}:
103      ""
104    case Some{s}:
105      s

Uses (2)

Used by (1)