Safe navigation operator
In object-oriented programming, the safe navigation operator (also known as optional chaining operator, safe call operator, null-conditional operator) is a binary operator that returns null if its first argument is null; otherwise it performs a dereferencing operation as specified by the second argument (typically an object member access, array index, or lambda invocation). While the safe navigation operator and null coalescing operator are both null-aware operators, they are operationally different.
?.Apache GroovyElvis operatorKotlin (programming language)Lonely operatorNull-conditional operatorNull coalescing operatorNull object patternOperator (computer programming)Optional chaining operatorPHP syntax and semanticsPyramid of doom (programming)Safe call operatorSwift (programming language)Void safety
Link from a Wikipage to another Wikipage
primaryTopic
Safe navigation operator
In object-oriented programming, the safe navigation operator (also known as optional chaining operator, safe call operator, null-conditional operator) is a binary operator that returns null if its first argument is null; otherwise it performs a dereferencing operation as specified by the second argument (typically an object member access, array index, or lambda invocation). While the safe navigation operator and null coalescing operator are both null-aware operators, they are operationally different.
has abstract
In object-oriented programming ...... y are operationally different.
@en
Link from a Wikipage to an external page
Wikipage page ID
49,249,693
page length (characters) of wiki page
Wikipage revision ID
1,025,422,748
Link from a Wikipage to another Wikipage
wikiPageUsesTemplate
subject
comment
In object-oriented programming ...... y are operationally different.
@en
label
Safe navigation operator
@en