kernel/src/ds/vp_singly_linked_list.c
bool vpsll_contains(VPSinglyLinkedList * lst, void * value, CompareFunc compf) {
    VPSLL_FOREACH(lst, i) {
        if (compf(i->data, value)) { return true; }
    }
    return false;
}
// Returns if the compf returns true for any item in the list (compared with the value).
Returns if the compf returns true for any item in the list (compared with the value).
Returns if the compf returns true for any item in the list ( compared with the value ) .
bool vpsll_contains(VPSinglyLinkedList * lst, void * value, CompareFunc compf) {
    VPSLL_FOREACH(lst, i) {
        if (compf(i->data, value)) { return true; }
    }
    return false;
}
bool vpsll_contains ( VPSinglyLinkedList * lst , void * value , CompareFunc compf ) { VPSLL_FOREACH ( lst , i ) { if ( compf ( i -> data , value ) ) { return true ; } } return false ; }
Returns if the compf returns true for any item in the list (compared with the value).
Returns if the compf returns true for any item in the list ( compared with the value ) .