Extensions

The following extensions are available globally.

  • Declare an extension to Int array to be able to easily prepare an array either

    • with integers from a specified range and count of numbers, or
    • with sequence of integers from 1 to count of numbers.

    Author

    Antti Juustila

    See more

    Declaration

    Swift

    extension Array where Element == Int