respect-validation/docs/FloatType.md
Henrique Moody ec8cb734b3
Apply contribution guidelines to "FloatType" rule
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2018-03-27 00:17:34 +02:00

658 B

FloatType

  • FloatType()

Validates whether the type of the input is float.

v::floatType()->validate(1.5); // true
v::floatType()->validate('1.5'); // false
v::floatType()->validate(0e5); // true

Changelog

Version Description
1.0.0 Created

See also: