Solved
Forum Discussion
nativeBasic
2 years agoNew Contributor III
Hello,
You can group into an array and then:
$myArray.filter((item, pos, a) => (a.indexOf(item)+1)%4 != 0)
% is the MOD function.
Hope it helps!
Hello,
You can group into an array and then:
$myArray.filter((item, pos, a) => (a.indexOf(item)+1)%4 != 0)
% is the MOD function.
Hope it helps!
Hello,
You can group into an array and then:
$myArray.filter((item, pos, a) => (a.indexOf(item)+1)%4 != 0)
% is the MOD function.
Hope it helps!