"논리 연산자"의 두 판 사이의 차이

27번째 줄: 27번째 줄:
*https://msdn.microsoft.com/ko-kr/library/z68fx2f1.aspx
*https://msdn.microsoft.com/ko-kr/library/z68fx2f1.aspx
*http://php.net/manual/kr/language.operators.logical.php
*http://php.net/manual/kr/language.operators.logical.php
*https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_Operators


[[분류: 연산자]]
[[분류: 연산자]]

2015년 9월 8일 (화) 09:50 판

1 개요

Logical Operators
논리 연산자
연산자 이름 설명
a and And a와 b가 모두 true이면 true
a && b And a와 b가 모두 true이면 true (C언어 스타일)
a or b Or a나 b가 true이면 true
a || b Or a나 b가 true이면 true (C언어 스타일)
a xor b Xor a와 b중 하나만 true일 때만 true
! a Not a가 true가 아니면 true

2 같이 보기

3 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}