Conditional Statement

Conditional Statement

조건구문(조건문). 특정 코드를 실행하기 전 조건이 참인지 확인하는 제어 구문.

즉, 코드를 실행하기 전 특정 조건이 성립하지 않으면 그 코드를 실행하지 않도록 제어하는 구문.

스위프트(Swift) 언어의 대표적인 조건구문으로 if 구문switch 구문이 있다.

A control flow statement that checks whether a condition is true before executing a piece of code.

관련 강좌
* 조건문
* 값을 비교해보기

logo landscape small

사업자번호 : 743-81-02195
통신판매업 신고번호 : 제 2022-충북청주-1278 호
고객센터 : 카카오톡채널 @yagom