Last active
November 15, 2015 10:16
-
-
Save KentarouKanno/8eac7905dd24ee611221 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let array: [String] = [] | |
let array: Array<String> = [] | |
let array = [String]() | |
if array.count != 0 { | |
// 配列が存在する時の処理 | |
} | |
if !array.isEmpty { | |
// 配列が存在する時の処理 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment