nextPrime n
i1 : nextPrime 10000 o1 = 10007
i2 : nextPrime 3.5678 o2 = 5
i3 : nextPrime (3/7) o3 = 2
The object nextPrime is a method function.
The source of this document is in Macaulay2Doc/functions/nextPrime-doc.m2:23:0.