• Lupec
    link
    fedilink
    arrow-up
    1
    ·
    2 hours ago

    I am not sure if JS has something similar, but this often helps by a lot

    It does, the some/every array methods would achieve the same results. I use them quite often myself!