mirai-core / net.mamoe.mirai.contact / firstOrNull

firstOrNull

@PlannedRemoval("1.0.0") inline fun <C : Contact> LockFreeLinkedList<C>.firstOrNull(filter: (C) -> Boolean): C?
Deprecated: use firstOrNull from stdlib