toggle menu
KAHelpers
androidJvm
switch theme
search in API
dataStructuresAndAlgorithms
/
dev.funkymuse.datastructuresandalgorithms.mathematics
/
getAllPrimesPlain
get
All
Primes
Plain
fun
getAllPrimesPlain
(
limit
:
Int
)
:
List
<
Int
>
Gets all primes until the limit by checking whether every number in the loop is a prime number.