출처: https://docs.swift.org/swift-book/LanguageGuide/Functions.html#ID173 Functions — The Swift Programming Language (Swift 5.5) Functions Functions are self-contained chunks of code that perform a specific task. You give a function a name that identifies what it does, and this name is used to “call” the function to perform its task when needed. Swift’s unified function syntax docs.swift.org 함수의 ..