core.patterns-any-irrefutable
- description
- Whether a pattern from index matches every value
- type
Fn(patterns: List<@core.pattern>, index: Number) -> Boolean
- expression
fn(patterns$0, index$1) => match @core.list-get(list: $0, index: $1) { #none(_) => false, #some(pattern$10) => match @core.pattern-irrefutable(pattern: $10) { true => true, false => @core.patterns-any-irrefutable(patterns: $0, index: @core.plus(left: $1, right: 1)) } }
- visibility
- public
core.patterns-any-irrefutable (project definy, branch auto-release, snapshot oiQgPqhJm-TbM4kexXeRHBaJB_tS7gwBSewII64P-44) id: 94ch-K6qxnClpaPeTKNQPdmO1kqv8SzSKhrkggPizwU content hash: Q8R2fl-N-HgzQECN3LPmWg7mjzQ0pcpunVrY7SNR0go