Source/NFX.Erlang/Types/ErlString.cs
/// <summary>
/// Compare this instance to the IErlObject.
/// Negative value means that the atom is less than obj, positive - greater than the obj
/// </summary>
Compare this instance to the IErlObject.
Negative value means that the atom is less than obj, positive - greater than the obj
Compare this instance to the IErlObject . Negative value means that the atom is less than obj positive - greater than the obj
public int CompareTo(IErlObject obj)
    {
      if (!(obj is ErlString))
        return TypeOrder < obj.TypeOrder ? -1 : 1;
      var rhs = (ErlString)obj;
      return Value.CompareTo(rhs.Value);
    }
public int CompareTo ( IErlObject obj ) { if ( ! ( obj is ErlString ) ) return TypeOrder < obj . TypeOrder ? - 1 : 1 ; var rhs = ( ErlString ) obj ; return Value . CompareTo ( rhs . Value ) ; }
Compare this instance to the IErlObject.
Compare this instance to the IErlObject .
obj
IErlObject