def props.advance.pick

gralha-svg-render@0.1.0.1 · svg.bend:2005

import gralha-svg-render@0.1.0.1/svg.bend as Svg
import Base
import gralha-xml-doc@0.1.0.1/xml.bend as XML

2005def props.advance.pick(hit: Bool, whole: List<&2, XML.Attr>, rest: List<&2, XML.Attr>) -> List<&2, XML.Attr>:
2006  match hit:
2007    case True{}: rest
2008    case False{}: whole

Uses (3)

Used by (1)