Skip to content

Instantly share code, notes, and snippets.

@Plasma0909
Last active October 11, 2022 16:12
Show Gist options
  • Save Plasma0909/d962044adb0e240e6cd6c7ae4e88ee67 to your computer and use it in GitHub Desktop.
Save Plasma0909/d962044adb0e240e6cd6c7ae4e88ee67 to your computer and use it in GitHub Desktop.
comparison_operator (比較演算子)
演算子説明補足
A == BAとBが等しい「=」と混同しないこと
A != BAとBが等しくない等しくない時にTrue
A > BAがBより大きい
A >= BAがBより大きいか等しい「=>」と書かないこと
A < BAがBより小さい
A <= BAがBより小さいか等しい「=<」と書かないこと
A in BAがBの中に存在する
A not in BAがBの中に存在しない存在しない時にTrue
A is BAとBが同一オブジェクト同じオブジェクトIDを
参照している時にTrue
A is not BAとBが同一オブジェクト
ではない
同一オブジェクト
ではない時にTrue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment