programming-language文字列カラ文字かどうか判別(IsEmpty)On this pageカラ文字かどうか判別(IsEmpty) Python pylen(s) == 0 Swift swifts.isEmpty PHP php$s === '' TypeScript tss === '' Bash bash[ "$s" != "" ] ダブルクオーテーションで囲わないと次のようなエラーが出る txt[: !=: unary operator expected Ruby rbs == '' 📩 ご意見・ご感想はこちらから