isPrime abstract method

bool isPrime(
  1. int value
)

Tests if a value is prime. Throws a RangeError exception if value is larger than max.

Implementation

bool isPrime(int value);