public bool Equals(JsonLong other) { if (other is null) { return(false); } return(Value == other.Value); }
public bool Equals(JsonLong other) { if (other is null) { return(false); } if (_isRegex && Regex.Match(other.Value.ToString(), _regexPattern).Length > 0) { return(true); } return(Value == NUMBER || Value == ANY); }