>_
SWE Maxx
Questions
Quizzes
Daily challenge
System design
My attempts
Sign in
☀
☾
Light mode
Dark mode
Loading question…
Sign in
In TypeScript, what does string | null mean? | SWE Maxx
← Question bank
Fundamentals · Multiple Choice
Difficulty: Easy
In TypeScript, what does string | null mean?
TypeScript
Type systems
Choose your answer
A
A string array that can be empty.
B
A value that may be a string or null.
C
A string containing the word null.
D
A value that is always both a string and null.
Check answer
More in Fundamentals →