findContactByName

fun Collection<Contact>.findContactByName(displayName: String): Contact?

Finds a contact with the specified displayName.

Return

The first matching contact or null if none of the contacts in this collection has the specified name.