Fibonacci()
Validates whether the input follows the Fibonacci integer sequence.
v::fibonacci()->isValid(1); // true
v::fibonacci()->isValid('34'); // true
v::fibonacci()->isValid(6); // false
- Math
- Numbers
Version | Description |
---|---|
1.1.0 | Created |
See also: