def text.answer

bolt@1.27.0.0 · src/lint/world.bend:102

import bolt@1.27.0.0/src/lint/world.bend as World
import Base

102# a read's text; anything else is no text
103def text.answer(aa: Answer) -> Maybe<&2, String>:
104  match aa:
105    case Listed{_names}:
106      None{}
107    case Read{tt}:
108      Some{tt}
109    case Unread{}:
110      None{}
111    case Directory{}:
112      None{}

Uses (3)

Used by (1)