"Null 합체 연산자"의 두 판 사이의 차이

잔글 (Jmnote님이 Null 병합 연산자 문서를 Null 합체 연산자 문서로 이동하면서 넘겨주기를 덮어썼습니다)
 
(사용자 2명의 중간 판 4개는 보이지 않습니다)
1번째 줄: 1번째 줄:
[[분류: null]]
[[분류: 연산자]]
==개요==
==개요==
{{소문자}}
;null coalescing operator, Logical Defined-Or operator
;null coalescing operator, Logical Defined-Or operator
;Null 합체 연산자
;Null 합체 연산자
7번째 줄: 10번째 줄:
[[분류: Bash]]
[[분류: Bash]]
{{참고|Bash 널 합체 연산자}}
{{참고|Bash 널 합체 연산자}}
<source lang='Bash'>
<syntaxhighlight lang='Bash'>
TITLE=${supplied_title:-'Default title'}
TITLE=${supplied_title:-'Default title'}
</source>
</syntaxhighlight>


==C#==
==C#==
[[분류: Csharp]]
[[분류: Csharp]]
{{참고|C샵 널 합체 연산자}}
{{참고|C샵 널 합체 연산자}}
<source lang='csharp'>
<syntaxhighlight lang='csharp'>
string pageTitle = suppliedTitle ?? "Default Title";
string pageTitle = suppliedTitle ?? "Default Title";
</source>
</syntaxhighlight>


==PHP==
==PHP==
[[분류: PHP]]
[[분류: PHP]]
{{참고|PHP 널 합체 연산자}}
{{참고|PHP 널 합체 연산자}}
<source lang='PHP'>
<syntaxhighlight lang='PHP'>
$pageTitle = $suppliedTitle ?? 'Default Title';
$pageTitle = $suppliedTitle ?? 'Default Title';
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
31번째 줄: 34번째 줄:
==참고==
==참고==
* {{영어위키백과|Null coalescing operator}}
* {{영어위키백과|Null coalescing operator}}
[[분류: null]]
[[분류: 연산자]]

2023년 5월 26일 (금) 14:20 기준 최신판

1 개요[ | ]

null coalescing operator, Logical Defined-Or operator
Null 합체 연산자
??

2 Bash[ | ]

TITLE=${supplied_title:-'Default title'}

3 C#[ | ]

string pageTitle = suppliedTitle ?? "Default Title";

4 PHP[ | ]

$pageTitle = $suppliedTitle ?? 'Default Title';

5 같이 보기[ | ]

6 참고[ | ]

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