Explorer

core.branch-summaries-have

description
Whether the branch of the project is in branches, from index
type
Fn(branches: List<@core.branch-summary>, project_name: String, branch: String, index: Number) -> Boolean
expression
fn(branches$0, project_name$1, branch$2, index$3) =>
  match @core.list-get(list: $0, index: $3) {
    #none(_) =>
      false,
    #some(item$1005) =>
      let summary$4 = $1005;
      match @core.and(left: @core.equal(left: $4.project_name, right: $1), right: @core.equal(left: $4.name, right: $2)) {
        true =>
          true,
        false =>
          @core.branch-summaries-have(branches: $0, project_name: $1, branch: $2, index: @core.plus(left: $3, right: 1))
      }
  }
visibility
public
core.branch-summaries-have (project definy, branch main, snapshot CfIAXM725tR74SWd4aoTUz4-JJQfqnllblZbQ2Sv204)
id: gX_VmAiss_-U_3qIgziiBJ-MTEKkrJCEBnGNFb3eaLA
content hash: O4zyuUzGj_o0eDCe0A7ByGYznj0oUm_02huf6R9Aovo