API C PlayerInfo.GUIDIsPlayer

Returns true if the GUID represents a player unit. isPlayer = C_PlayerInfo.GUIDIsPlayer("guid")

Arguments

 * guid : - The GUID to be checked.

Returns

 * isPlayer : - True if the GUID represents a player unit, or false if not.

Details

 * This function currently as of patch 9.0.2 only validates that the supplied GUID begins with the string.