Explorer

core.pattern-irrefutable

description
Whether the pattern matches every value (any or bind)
type
Fn(pattern: @core.pattern) -> Boolean
expression
fn(pattern$0) =>
  match $0 {
    #any(_) =>
      true,
    #bind(bind$10) =>
      true,
    _ =>
      false
  }
visibility
public
core.pattern-irrefutable (project definy, branch compiled-tests, snapshot i6TqClmqVS9FK8rKOvJ43l6Tevx8pvYJ5-zaQqNwemc)
id: TtZ95ROf4OxZpnNNgwgldCiEQb_qgpt5auOE4YxMWsI
content hash: ygONKSmH2klv1y5dcFcM8-9YlYRZ6MaKYAGOYrPQTR0