Adaptive Framework 0.9.0

optional_chaining

The following is a list of properties for the function optional_chaining:

PropertyValue
briefOptional chaining
categorymiscellaneous
descriptionReturns undefined if arg1 is null or undefined without evaluating arg2, but otherwise returns evaluated value of arg2.
functionIdoptional_chaining
functionLabeloptional_chaining
parameters[ { "canBeUndefined": true, "name": "arg1" }, { "canBeUndefined": true, "name": "arg2" } ]
puretrue
returns{ "description": "Undefined value if arg1 is null or undefined but otherwise evaluated arg2." }