Created
March 5, 2018 21:34
-
-
Save sfeatherstone/7be30517e7310061d3bacaaa72054f3e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Silly simple way of making new array | |
| fun catTwoIntArraysSimple(array1 :IntArray, array2 :IntArray) = array1 + array2 | |
| inline fun <reified T> catTwoArraysSimple(array1 :Array<T>, array2 :Array<T>) = array1 + array2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment