---
title: isFriend
framework: gamekit
role: symbol
role_heading: Instance Property
path: gamekit/gkplayer/isfriend
---

# isFriend

A Boolean value that indicates whether the player is a friend of the local player.

## Declaration

```swift
var isFriend: Bool { get }
```

## Discussion

Discussion Players use the Game Center app to declare other players as friends.

## See Also

### Accessing player details

- [alias](gamekit/gkplayer/alias.md)
- [displayName](gamekit/gkplayer/displayname.md)
- [isInvitable](gamekit/gkplayer/isinvitable.md)
