randomElement()

Inherited from Collection.randomElement().

Declaration

func randomElement() -> Self.Element?