Explorer

definy.part-content-expressions

description
The type and the expression of a part content that it has
type
Fn(content: @core.part-content) -> List<@core.expression>
expression
fn(content$0) =>
  @core.list-concat(
    left: match $0.part_type {
      #some(part_type$1) =>
        [$1],
      #none(_) =>
        []
    },
    right: match $0.expression {
      #some(expression$2) =>
        [$2],
      #none(_) =>
        []
    }
  )
visibility
public
definy.part-content-expressions (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo)
id: dRPIwP_eAbh5A0c1OGYBZC5HUxDQOx5302v7TttxgkU
content hash: Jq62X0wAHFae3xY_CvAH8VWy3CzpRGGL0K1bDVZ15PY