SequenceType

protocol SequenceType

Creates a collection of RawRepresentable from a collection of raw values. Returns nil if an element in the array had an invalid raw value.

  • Convertes a sequence of RawRepresentable to its raw values.

    Declaration

    Swift

    var rawValues: [Self.Generator.Element.RawValue]