Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 908 Bytes

PrimeNumber.md

File metadata and controls

43 lines (29 loc) · 908 Bytes

PrimeNumber

  • PrimeNumber()

Validates a prime number

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

Templates

PrimeNumber::TEMPLATE_STANDARD

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

Template placeholders

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

Categorization

  • Math
  • Numbers

Changelog

Version Description
0.3.9 Created

See also: