how to can i add an element to array if that is not ptrsent in the array in swift code example Example: how to insert element at start of the array ios swift someArray.insert(someValue, atIndex: 0)