Skip to content

Latest commit

 

History

History
62 lines (47 loc) · 1.55 KB

File metadata and controls

62 lines (47 loc) · 1.55 KB

NullType

  • NullType()

Validates whether the input is null.

v::nullType()->assert(null);
// Validation passes successfully

Templates

NullType::TEMPLATE_STANDARD

Mode Template
default {{subject}} must be null
inverted {{subject}} must not be null

Template placeholders

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

Categorization

  • Types

Changelog

Version Description
1.0.0 Renamed from NullValue to NullType
0.3.9 Created as NullValue

See Also