w ࣍ʹΓΛܾΊ·͢ w Γ͕ؔͲΜͳΛฦ͢ͷ͔Λࣔ͢ͷͰ͢ w ΓجຊతʹҰͭͰ͕͢5VQMFΛ͏͜ͱͰෳݸฦͤ·͢ w ྫ͑ࠓճ͠ࢉͷؔͳͷͰ*OUܕΛҰͭฦ͠·͢ w Կฦ͢ͷ͕ͳ͍߹লུՄೳͰ͢ w ͪͳΈʹฦΓͱݴͬͨΓ͠·͕͢৭ʑΞϨͳͷͰࠓճΓͱݺͼ·͢ ͜ͷ෦͕Γ
number2: Int) -> Int { let result = number1 + number2 return result } // ؔͷݺͼग़͠ let added = add(number1: 10, number2: 10) print("result is: \(added)") // 20
{ for ch in characters { for t in text { if ch == t { return true } } } return false } containsCharacter("abcdefg", "i") // false containsCharacter("abcdefg", "g", "h", "i") // true ͜Ε͕ՄมҾ