isContactInvited

abstract fun isContactInvited(contact: IRainbowContact): Boolean

Checks if a contact has been invited by the user.

This method verifies whether the specified contact is currently in the list of sent invitations.

Behavior:

  • Returns true if the given contact matches an existing sent invitation that is still pending.

  • Returns false if no pending invitation exists for the specified contact.

Return

true if the contact has been invited and the invitation is pending, false otherwise.

Parameters

contact

The IRainbowContact to check for a pending invitation.