mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 07:15:45 +01:00
387 B
387 B
Fibonacci
Fibonacci()
Validates whether the input follows the Fibonacci integer sequence.
v::fibonacci()->validate(1); // true
v::fibonacci()->validate('34'); // true
v::fibonacci()->validate(6); // false
Changelog
| Version | Description |
|---|---|
| 1.1.0 | Created |
See also: