self == other -> bool[permalink][rdoc][edit]-
数値として等しいか判定します。
- [PARAM]
other: - 自身と比較する数値
p Complex(2, 1) == Complex(1) # => false p Complex(1, 0) == Complex(1) # => true p Complex(1, 0) == 1 # => true - [PARAM]
self == other -> bool[permalink][rdoc][edit]数値として等しいか判定します。
other:p Complex(2, 1) == Complex(1) # => false
p Complex(1, 0) == Complex(1) # => true
p Complex(1, 0) == 1 # => true