def cors.star.step

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

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

18# whether `*` is one of the allowed origins
19def cors.star.step(hit: Bool, rest: Unit -> Bool) -> Bool:
20  match hit:
21    case True{}:
22      True{}
23    case False{}:
24      rest(Unit{})

Uses (2)

Used by (1)