Explorer

core.value-to-branch-status

description
Read a value of the evaluator (core.value) as core.branch-status. none if the shape differs
type
Fn(value: @core.value) -> Union{#none, #some(@core.branch-status)}
expression
fn(value$0) =>
  match $0 {
    #variant(variant$1) =>
      @core.branch-status-from-name(name: $1.tag),
    _ =>
      #none
  }
visibility
public
core.value-to-branch-status (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo)
id: Rrdk9pWB-JRn3y4fC_HYl2-CJoUBv07rnVldYsF65Sg
content hash: osy6fZ8ScpxByZUi_wUAIdgidk-1nbvhVzM9YulICAk