Cors.cors.hit: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/cors.bend as Cors Lines 42-48 of emerging-ezhttp@0.21.0.0/src/cors.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/cors.bend&start_line=42&end_line=48 import Base # whether the needle is in the list def cors.hit(+needle: String, xs: List<&2, String>) -> Bool: match xs: case []: False{} case h <> t: cors.hit.step(String.eq(h, needle), _u => cors.hit(needle, t)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/cors.bend&name=cors.hit.step