I am trying to convert a js code into swift (new in both). Where I found that in js they have used === for comparing json values with string.
Can someone help to me to find the meaning of === in swift (3.0) also does it do the same operation like JS? Usages I found in js -
try {
var rsltjsn = JSON.parse(responseData1[0]);
console.log("valid json")
} catch (e) {
for (var k in rsltjsn) {
console.log(k)
if (k === "access_token") { //<-what it means
....}
..}