core.number-list-contains
- description
- Whether the list contains the number from index on
- type
Fn(list: List<Number>, value: Number, index: Number) -> Boolean
- expression
fn(list$0, value$1, index$2) => match @core.list-get(list: $0, index: $2) { #none(_) => false, #some(item$1003) => match @core.equal(left: $1003, right: $1) { true => true, false => @core.number-list-contains(list: $0, value: $1, index: @core.plus(left: $2, right: 1)) } }
- visibility
- public
core.number-list-contains (project definy, branch compiled-tests, snapshot i6TqClmqVS9FK8rKOvJ43l6Tevx8pvYJ5-zaQqNwemc) id: HWlEj2okdueRlEDyxuJoLHCtzyGZOUmWo2WgST7PbEc content hash: veOphGGWEAIBo0cuQObP2pc87SkSKyJUbqKI5OeMN8o