-1

Could you help me to invert this condition in javascript?

(this.startingNode.isAdaptive && this.startingNode.studentAssessment.isNotCompleted && this.user.isStudentLike) || this.isFinalAssessment
see
  • 61
  • 4

1 Answers1

0

Add ! in front of it and wrap it in brackets ().

Like this:

!((this.startingNode.isAdaptive && this.startingNode.studentAssessment.isNotCompleted && this.user.isStudentLike) || this.isFinalAssessment)

rayman.io
  • 59
  • 4