IsTemporal returns true if decl is for a temporal predicate. Temporal predicates have facts with validity intervals.
()
| 118 | // IsTemporal returns true if decl is for a temporal predicate. |
| 119 | // Temporal predicates have facts with validity intervals. |
| 120 | func (d Decl) IsTemporal() bool { |
| 121 | return d.findDescr(DescrTemporal, nil) |
| 122 | } |
| 123 | |
| 124 | // IsMaybeTemporal returns true if decl is for a predicate that might be temporal. |
| 125 | func (d Decl) IsMaybeTemporal() bool { |