def paint.with

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

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

5197def paint.with(cond: Bool, a: Array<U32>, yes: Array<U32> -> Array<U32>, no: Array<U32> -> Array<U32>) -> Array<U32>:
5198  match cond:
5199    case True{}: yes(a)
5200    case False{}: no(a)

Uses (3)

Used by (1)