typescript does boolean default value code example
Example: typescript default value for boolean
// undefined, as well as false, are both falsy values that you can test the same way.
export class ReccurrenceModel {
...
isMonday = false;
isTuesday = false;
...
}