Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 967 Bytes

File metadata and controls

44 lines (29 loc) · 967 Bytes

ScalarVal

  • ScalarVal()

Validates whether the input is a scalar value or not.

v::scalarVal()->isValid([]); // false
v::scalarVal()->isValid(135.0); // true

Templates

ScalarVal::TEMPLATE_STANDARD

Mode Template
default {{subject}} must be a scalar value
inverted {{subject}} must not be a scalar value

Template placeholders

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

Categorization

  • Types

Changelog

Version Description
1.0.0 Created

See also: