mixpanel-unity
mixpanel-unity copied to clipboard
No possibility to compare Value
Value class has no possibility to compare with another Value object.
There is a possibility to convert to another type, but no way to understand what type Value is.
For example there is:
public static implicit operator string(Value value) => value.String;
or
private string String
{
get
{
Assert.IsTrue(_valueType == ValueTypes.STRING && _dataType == DataTypes.PRIMITIVE);
return _string;
}
}
But no way to understand if Value is a string. As ValueType enum is private, and _valueType field is also private, and no property to get it. Would be great to have possibility to compare Value.