let firstArray =
[[name: "John", id: "001", active: "true"],
[name: "Paul", id: "002", active: "false"]]
let user: User? //This user contains information like an id (002)
你好,我想告诉“看在firstArray每个PROFIL获得价值,并发现其中ID是一样的PROFIL,在它的保罗的例子,我想找回保罗PROFIL [名:“保罗”,ID:“002”,主动:“假”]如何发现和阵列中的
我希望现在这样更干净,感谢反馈
您的实际问题是,我不清楚,请提高你的问题。你所命名的'.find'是jQuery代码,不是快速的。 – milo526
你好,告诉我现在它是否更干净。 $ .find是一个名为Dollar的椰壳。 – Makaille
[Find a object in array?](http://stackoverflow.com/questions/28727845/find-an-object-in-array) – Daniel