Array

extension Array where Element == String
extension Array where Element == String?

Available where Element == String

  • Joins all Strings in Array but skips empty values

    Declaration

    Swift

    public func skipEmptyJoined(separator: String = "") -> String

    Parameters

    separator

    separator String

    Return Value

    Joined String

Available where Element == String?

  • Joins all Strings in Array but skips empty & nil values

    Declaration

    Swift

    public func skipEmptyJoined(separator: String = "") -> String

    Parameters

    separator

    separator String

    Return Value

    Joined String