Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Michael88's avatar

Duplicate validation

Hi, I'm using Nova and trying to validate emails array, there should be no repeating values for active emails of one type (e.g from this array only second should be invalid )

        {
			"type": "work",
            "status": "Active",
            "email": "[email protected]"
        },
        {
			"type": "work",
            "status": "Active",
            "email": "[email protected]"
        },
        {
			"type": "personal",
            "status": "Active",
            "email": "[email protected]"
        },
        {
			"type": "personal",
            "status": "Inactive",
            "email": "[email protected]"
        }
    ]

Did anyone face issues like that?

0 likes
1 reply

Please or to participate in this conversation.