I\'m on Angular (typescript) but it\'s more a question of pure algorithm
I have an array that receives conditions (as a string). example: [\'a