Views map fucntion in 6.0.2 and7.0.4

Hi Team,

What is the command to sort for meta.id like “HAP%” in map function. I know that in 6.0.2, we use meta.id.includes(“HAP”).
I need it in 7.0.4 version. Can anyone please help on this.

I believe it should be the same. Can you show the issue you are having? Your map function? The error message?