Skip to content

Files

Latest commit

9740e24 · Jan 6, 2025

History

History
29 lines (19 loc) · 455 Bytes

Identical.md

File metadata and controls

29 lines (19 loc) · 455 Bytes

Identical

  • Identical(mixed $value)

Validates if the input is identical to some value.

v::identical(42)->isValid(42); // true
v::identical(42)->isValid('42'); // false

Message template for this validator includes {{compareTo}}.

Categorization

  • Comparisons

Changelog

Version Description
1.0.0 Created

See also: