---
name: "diarySubjectExists"
type: command
status: ok
groups: ["Briefing"]
arma3_since: "0.50"
locality: {"argument": "local", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/diarySubjectExists
revid: 322992
updated: 2022-06-28T21:42:59Z
---

# diarySubjectExists

*Command · Briefing · Arma 3 v0.50 · introduced in Arma 2 v1.00*

Locality: arguments **local**

## Description

Checks whether given subject is present in the Diary of given player.

## Syntax

```sqf
player diarySubjectExists name
```

**Parameters:**

- `player`: [Object](../topics/Object.md)
- `name`: [String](../topics/String.md)

**Returns:** [Boolean](../topics/Boolean.md)

## Examples

### Example 1

```sqf
_exists = player diarySubjectExists "subjectName";
```

## See also

[processDiaryLink](../commands/processDiaryLink.md) · [createDiaryLink](../commands/createDiaryLink.md) · [createDiaryRecord](../commands/createDiaryRecord.md) · [createDiarySubject](../commands/createDiarySubject.md) · [allDiarySubjects](../commands/allDiarySubjects.md)

<sub>Source: [BI Community Wiki — diarySubjectExists](https://community.bistudio.com/wiki/diarySubjectExists) (revision 322992).</sub>
