utils v0.4.5 (2022-01-11T08:20:00Z)
Dub
Repo
reverseArray
utils
misc
T
[]
reverseArray
(
T
)
(
T
[]
s
)
Return Value
Type:
T
[]
the reverse of an array
Examples
assert
([
1
,
2
,
3
,
4
].
reverseArray
== [
4
,
3
,
2
,
1
]);
Meta
Source
See Implementation
utils
misc
aliases
ByteUnion
integer
uinteger
functions
arrayToFile
bracketPos
deleteElement
divideArray
fileToArray
filesModified
hasElement
indexOf
insertElement
isAlphabet
isNum
listDir
lowercase
makeTable
matchElements
readBinary
readHexadecimal
reverseArray
sortAscending
sortAscendingIndex