def nameservers.add

bend-kit-dns@0.7.0.0 · dns.bend:337

import bend-kit-dns@0.7.0.0/dns.bend as Dns
import Base

337def nameservers.add(+line: String, rest: List<&2, String>, hit: Bool) -> List<&2, String>:
338  match hit:
339    case False{}:
340      rest
341    case True{}:
342      Con{String.trim(String.drop(line, 10n)), rest}

Uses (5)

Used by (1)