definy.strings-contain
- description
- Whether items from index contain value
- type
Fn(items: List<String>, value: String, index: Number) -> Boolean
- expression
fn(items$0, value$1, index$2) => match @core.list-get(list: $0, index: $2) { #some(item$3) => match @core.equal(left: $3, right: $1) { true => true, false => @definy.strings-contain(items: $0, value: $1, index: @core.plus(left: $2, right: 1)) }, #none(_) => false }
- visibility
- public
definy.strings-contain (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo) id: IAT5-1S_7fF85oW5eKq31QmnpnqfJqrXuy08vsWII6c content hash: KMGLwZYUSITJnRfFFZNLL8S4OEwhIuAfTrxljD7NqOQ