ログインすると広告が減り、学習に集中できます。
広告
検索結果- 英語 - 多言語
検索内容:
safe navigation operators
safe navigation operator
名詞
(programming) A binary operator that returns its second argument, unless the first argument is null, in which case it returns null; used to simplify code that would otherwise need multiple explicit checks for nullity.
日本語の意味
プログラミングにおいて、第一引数がnullの場合はnullを返し、そうでない場合は第二引数を返す二項演算子。明示的なnullチェックを省略してコードを簡略化するために使用され、「Null条件演算子」または「安全なナビゲーション演算子」とも呼ばれる。
英語の意味
(programming) A binary operator that returns its second argument, unless the first argument is null, in which case it returns null; used to simplify code that would otherwise need multiple explicit checks for nullity.
関連語