hasKnownValue property
bool
get
hasKnownValue
Return true
if the value of the object being represented is known.
This method will return false
if
- the value being represented is the value of a declared variable (a
variable whose value is provided at run-time using a
-D
command-line option), or - the value is a function.
The result of this method does not imply anything about the state of
object representations returned by the method getField, those that are
elements of the list returned by toListValue, or the keys or values in
the map returned by toMapValue. For example, a representation of a list
can return true
even if one or more of the elements of that list would
return false
.
Implementation
bool get hasKnownValue;