Compare list header in DataviewJS

I’m trying to automatically display logs from each day of a week in week note with use of dataview js. I would like to filter all lists from file based on list item’s link/section/header but I can’t manage to get right comparison.

let items = dv.pages().file.lists.where(x => x.header == "targetHeader")

Does anybody know if and how could that work?

Have it solved. To see how x.header looks like as text I wrapped it inside inline code. After that I just had to contruct targetHeader text properly and compare it.