Returns whether a unit is marked DND (Do Not Disturb)
See also Unit functions.
Signature:
isDND
=
UnitIsDND("unit")
or
UnitIsDND("name")
Arguments:
unit
- A unit to query (string
, unitID)name
- The name of a unit to query; only valid forplayer
,pet
, and party/raid members (string
)
Returns:
isDND
- 1 if the unit is marked Do Not Disturb, otherwise nil (1nil
)