boolValue property

bool? get boolValue

If this isBool, returns the bool value. Otherwise, returns null.

Implementation

bool? get boolValue {
  if (_valueType == ValueType.Bool) {
    return _readInt(_offset, _parentWidth) != 0;
  }
  return null;
}