StackOverflow Questions for Tag: optional-chaining

Petar Vasilev
Petar Vasilev

Reputation: 4725

Is there a null safe operator for accessing array data?

Score: 20

Views: 11435

Answers: 1

Read More
butertoast
butertoast

Reputation: 1

Why do I get a null here?

Score: -2

Views: 59

Answers: 1

Read More
Liudmyla
Liudmyla

Reputation: 1

How add new field into reducer using Immer.js?

Score: 0

Views: 549

Answers: 2

Read More
Ar3s
Ar3s

Reputation: 2307

Can optional chaining be explicitly found in some prototype?

Score: -1

Views: 133

Answers: 1

Read More
Black Mamba
Black Mamba

Reputation: 15535

How can I use optional chaining with arrays and functions?

Score: 335

Views: 166004

Answers: 5

Read More
Darren
Darren

Reputation: 10398

Swift 5.5 async operation as Optional default

Score: 7

Views: 2085

Answers: 3

Read More
SENA rajaguru
SENA rajaguru

Reputation: 53

SyntaxError: Unexpected token '.' for optional chaining and Nullish coalescing

Score: 1

Views: 537

Answers: 2

Read More
Sy Pham
Sy Pham

Reputation: 99

Difference between raw and parameterized Optional when invoking orElseGet(Supplier)

Score: 4

Views: 99

Answers: 1

Read More
Alex
Alex

Reputation: 39

React query and optional chaining async await function

Score: 0

Views: 699

Answers: 1

Read More
N.A
N.A

Reputation: 311

Adding Optionals/null safety to a nested flatMap/stream

Score: 2

Views: 191

Answers: 1

Read More
Kishore_2021
Kishore_2021

Reputation: 689

Use Java 8 Optional features in the multiple null conditions

Score: -1

Views: 82

Answers: 1

Read More
mg123
mg123

Reputation: 21

Can't bypass optional chaining error using Babel or Webpack

Score: 2

Views: 842

Answers: 0

Read More
Nick Div
Nick Div

Reputation: 5628

Is it possible to LOG different messages based on which step null is encountered while doing nested null check with Optional and map

Score: 0

Views: 83

Answers: 3

Read More
Robert Tirta
Robert Tirta

Reputation: 2911

Question mark before dot in javascript / react

Score: 96

Views: 82362

Answers: 1

Read More
Seven
Seven

Reputation: 562

Optional Chaining in JavaScript returns undefined instead of null when the variable to be tested is null

Score: 10

Views: 18286

Answers: 4

Read More
Zorro
Zorro

Reputation: 1519

Why doesn't the optional chaining operator (?.) work with Javascript assignment?

Score: 1

Views: 688

Answers: 1

Read More
Lance Samaria
Lance Samaria

Reputation: 19572

Does Kotlin Have Something Similar to Swift's Guard-Let

Score: 0

Views: 36

Answers: 0

Read More
Cjmaret
Cjmaret

Reputation: 211

Object is possibly undefined in Typescript, even though it's inside an if statement that checks for truthiness

Score: 0

Views: 87

Answers: 0

Read More
Jangchun Lee
Jangchun Lee

Reputation: 27

Can Optional Chaining be alternative of 'in' operator in Javascript

Score: 0

Views: 1425

Answers: 2

Read More
Martin Geisse
Martin Geisse

Reputation: 1431

How does stacking the optional chaining (question-mark-dot) operator in Javascript behave?

Score: 2

Views: 1037

Answers: 2

Read More
PreviousPage 2Next