Previous Page
locale()

Solar_Filter_ValidateBool
validateBool()

Next Class
Solar_Filter_ValidateCompare

validateBool()

public bool validateBool ( mixed $value )

Validates that the value is a boolean representation.

Parameters

  • (mixed) $value: The value to validate.

Returns

  • (bool) True if valid, false if not.

Description

Validates that the value is a boolean representation.