Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript type or null

let stringOrNullValue: string | null = null;
//it an take null as well as other type.

stringOrNullValue = "someString"; 
 
PREVIOUS NEXT
Tagged: #typescript #type #null
ADD COMMENT
Topic
Name
9+6 =