Given a list of integers return a list that contains only odd integers (only integers which are not a multiple of 2
).
getOdd(listOf(1, 2, 3)) // 1, 3
getOdd(listOf(4, 6, 8, 7, 9)) // 7, 9
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Given a list of integers return a list that contains only odd integers (only integers which are not a multiple of 2
).
getOdd(listOf(1, 2, 3)) // 1, 3
getOdd(listOf(4, 6, 8, 7, 9)) // 7, 9