I\'m trying to implement firestore rules to my project, but I\'m stuck with data validation.
Here\'s my current code:
function clienteIsValid(data){