Get the element at the given index as an Option. If the element does not exist, it will return None.
index
Option<T> elementAtOption(int index) => tryCatch(() => elementAt(index));