def intersects_list

bendvy-ecs-core@0.1.0.3 · execution_query_domain.bend:33

import bendvy-ecs-core@0.1.0.3/execution_query_domain.bend as ExecutionQueryDomain
import Base

33def intersects_list(+right:Domain,offsets:List<&2,U32>) -> Bool:
34  match offsets:
35    case []:False{}
36    case head <> rest:Bool.or(contains(right,head),intersects_list(right,rest))

Uses (6)

Used by (1)