typescript default value for boolean

Solutions on MaxInterview for typescript default value for boolean by the best coders in the world

showing results for - "typescript default value for boolean"
Lorenzo
23 Jul 2016
1// undefined, as well as false, are both falsy values that you can test the same way.
2export class ReccurrenceModel {
3    ...
4    isMonday = false;
5    isTuesday = false;
6    ...
7}
8