containsFriend

fun containsFriend(username: String): Boolean

Checks whether a friend with the given username exists.

The comparison is case-insensitive.

Return

true if the friend list contains a friend with this name, otherwise false

Parameters

username

the username to check


Checks whether a friend with the given UUID exists.

Return

true if the friend list contains a friend with this UUID, otherwise false

Parameters

uuid

the UUID to check


Checks whether the given friend entry is present in the friend list.

Return

true if this entry is contained in the friend list, otherwise false

Parameters

nameAndUUID

the friend entry to check