How do I iterate through object inside of conditional statement in pugjs?

127 Views Asked by At

How do I iterate through the object "item" inside of this if statement in pugjs? I want to skip over the given "item" if the identicalCount is not there (I have other functions carried out should it skip over this loop.

each item in testResultData
    if !item.identicalCount
      //need to iterate to next object "item" in testResultData here...

I have been unsuccessful in finding documentation or answers to this on stackOverflow or pugjs.org in regards to this.

0

There are 0 best solutions below