317 B
317 B
Fibonacci
v::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
See also: