Infinite

February 3, 2026 ยท View on GitHub

  • Infinite()

Validates if the input is an infinite number.

v::infinite()->assert(INF);
// Validation passes successfully

Templates

Infinite::TEMPLATE_STANDARD

ModeTemplate
default{{subject}} must be an infinite number
inverted{{subject}} must not be an infinite number

Template placeholders

PlaceholderDescription
subjectThe validated input or the custom validator name (if specified).

Categorization

  • Math
  • Numbers

Changelog

VersionDescription
1.0.0Created

See Also