Solar_Filter_ValidateNotBlank::validateNotBlank()

public bool Solar_Filter_ValidateNotBlank::validateNotBlank ( mixed $value )

Validates that the value is not blank whitespace.

Parameters

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

Returns

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

Description

Validates that the value is not blank whitespace.

Boolean, integer, and float types are never "blank". All other types are converted to string and trimmed; if '', then the value is blank.



Local