if
Python
py
if ..:
Swift
swift
if (..) { // () なくても良い
PHP
php
if (..) {
TypeScript
ts
if (..) {
JavaScript
js
if (..) {
Bash
bash
if [ .. ]; then
[ .. ] は test コマンドなので、リターンコードで判別できるコマンドであれば、これでも良い
bash
if command1; then
Ruby
rb
if ..:
PowerShell
powershell
if (..) {
C++
cpp
if (..) {
C#
cs
if (..) {
Java
java
if (..) {