Class Property
A property which may or may not hold of a data-flow node.
Supported properties currently are Boolean truth and nil-ness.
Import path
import semmle.go.dataflow.PropertiesDirect supertypes
Predicates
| asBoolean | Returns the boolean represented by this property if it is a boolean. |
| checkOn | Holds if |
| isBoolean | Holds if this is the property of having the Boolean value |
| isNil | Holds if this is the property of being |
| isNonNil | Holds if this is the property of being non- |
| toString | Gets a textual representation of this property. |