I have an array that contains some objects inside, each object only has elements "concept, area.
let miArray = [{concepto:"examen", area:"matematicas",
concepto:"practico", area:"matematicas",
concepto:"tarea", area:"matematicas"}]
What I try is that, having a value of "concept" to obtain the position of that object in my vector. Is there any function like indexOf but for objects?
The other way would be to go through it with a foreach asking in each iteration, but maybe there is an easier way