getEntity
The getEntity
method returns the entity that you want to find facts for. If the incomplete fact target is the entity, this method returns an empty string.
Syntax
getEntity()
Returns
(string) The entity name.
Example
local entityName = incomplete:getEntity() if "QGBR" == entityName then ...