setEntity
The setEntity method sets the entity that this fact describes.
Syntax
setEntity(entity)
Arguments
| Argument | Description |
|---|---|
entity
|
(string) The code for the entity that this fact describes. |
Example
local fact = incomplete:initToCodifiedFact()
fact:setEntity("QGBR")
...