isString property

bool isString

Returns true if the underlying value was encoded as a string or a key.

Implementation

bool get isString =>
    _valueType == ValueType.String || _valueType == ValueType.Key;