Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 921 Bytes

File metadata and controls

44 lines (29 loc) · 921 Bytes

PrimeNumber

  • PrimeNumber()

Validates a prime number

v::primeNumber()->isValid(7); // true

Templates

PrimeNumber::TEMPLATE_STANDARD

Mode Template
default {{subject}} must be a prime number
inverted {{subject}} must not be a prime number

Template placeholders

Placeholder Description
subject The validated input or the custom validator name (if specified).

Categorization

  • Math
  • Numbers

Changelog

Version Description
0.3.9 Created

See also: