def owned_by

cli@0.2.0.0 · cli.bend:5906

import cli@0.2.0.0/cli.bend as Cli
import Base

5906def owned_by(hit: Maybe<&2, OptFound>, token: String, prefix: String,
5907    step: String, found: Maybe<&2, String>) -> Maybe<&2, String>:
5908  match hit:
5909    case None{}: found
5910    case Some{option}:
5911      Some{String.concat(["'", token, "' belongs to '", prefix,
5912        "'; place it before '", step, "'"])}

Uses (5)

Used by (1)