mirai-core / net.mamoe.mirai.utils / LockFreeLinkedListNode / allMatching

allMatching

inline fun allMatching(condition: (LockFreeLinkedListNode<E>) -> Boolean): Boolean

Check if all the node which is not Tail matches the condition

Head, which is this, is also being tested. Tail, is not being tested.