kmath
0.3.1-dev-RC
common
kmath-core
/
space.kscience.kmath.structures
/
getOrNull
get
Or
Null
fun
<
T
>
Buffer
<
T
>
.
getOrNull
(
index
:
Int
)
:
T
?
(
source
)
if index is in range of buffer, return the value. Otherwise, return null.