[This is preliminary documentation and is subject to change.]
Tests if the number is prime
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static bool IsPrime(
int number
)
public static bool IsPrime(
int number
)
Public Shared Function IsPrime (
number As Integer
) As Boolean
Public Shared Function IsPrime (
number As Integer
) As Boolean
public:
static bool IsPrime(
int number
)
public:
static bool IsPrime(
int number
)
static member IsPrime :
number : int -> bool
static member IsPrime :
number : int -> bool
Return Value
Type:
Boolean