array = [
“test” = test
“test1” = test
“test2” = test
“test4” = test
]
Check if test3 is in the array
I tried to do this:
if let check= userObject[“test3”]{
}
My app crashes and I get this error: unexpectedly found nil while unwrapping an Optional value