Explorer

definy.merge-contains

description
Whether items contains item
type
Fn(items: List<String>, item: String) -> Boolean
expression
fn(items$0, item$1) =>
  @core.list-fold(
    T: String,
    A: Boolean,
    reducer: fn(acc$2, item$3) =>
      @core.or(left: $2, right: @core.equal(left: $3, right: $1)),
    init: false,
    xs: $0
  )
visibility
public
definy.merge-contains (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo)
id: 5wojKpM0wyWHJwtTFgI9noxC5Xhb102t2GraqWYtAWM
content hash: Cik5L-mqbET-aqwL9m8ozNKmc9hLLhspHtmwfQLpM_U