LoginSignup
0
1

More than 1 year has passed since last update.

【Google App Script】条件分岐(if文)の記載方法

Posted at

GoogleAppScriptにおける、条件分岐(if文)の書き方について記載します。

基本構文

以下の通りです。Javaと同じですね。

if.gs
if(条件式1){
    // 処理を記載
} else if (条件式2) {
    // 処理を記載
} else {
    // 処理を記載
}

参考

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1