def list.first

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

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

389def list.first(xs: List<&2, String>) -> Maybe<&2, String>:
390  match xs:
391    case Nil{}:
392      None{}
393    case Con{+h, t}:
394      Some{h}

Uses (3)

Used by (4)