I have an array of objects of the following form:
jsonParseEntityVariables = [
{"id":0, "text": []},
{"id":1, "text": []},
{"id":2, "text": []}
];
I also have a var with name entity_variables.currentId
in which I store an ID
How can I compare all jsonParseEntityVariables.id
with entity_variables.currentId
to decide that entity_variables.currentId
is not equal at all to any jsonParseEntityVariables.id
?