def text_field

mlbend-huggingface@0.1.1.0 · main.bend:227

import mlbend-huggingface@0.1.1.0/main.bend as MlbendHuggingface
import Base
import bend-kit-json@0.6.1.1/json.bend as Json

227# The text of a field of a JSON object, or "" when it is not there.
228def text_field(v: Json.Val, key: String) -> String:
229  text_maybe(text_of_value(field(v, key)))

Uses (5)

Used by (0)

No other definition uses this definition.