IsBuiltin returns true if this predicate symbol is for a built-in predicate.
()
| 908 | |
| 909 | // IsBuiltin returns true if this predicate symbol is for a built-in predicate. |
| 910 | func (p PredicateSym) IsBuiltin() bool { |
| 911 | return strings.HasPrefix(p.Symbol, ":") |
| 912 | } |
| 913 | |
| 914 | // Variable represents a variable by the name. |
| 915 | type Variable struct { |
no outgoing calls
no test coverage detected