def cors.star

emerging-ezhttp@0.21.0.0 · src/cors.bend:26

import emerging-ezhttp@0.21.0.0/src/cors.bend as Cors
import Base

26# walk origins for `*`
27def cors.star(os: List<&2, String>) -> Bool:
28  match os:
29    case []:
30      False{}
31    case h <> t:
32      cors.star.step(String.eq(h, "*"), _u => cors.star(t))

Uses (5)

Used by (2)