Previous Page
locale()

Solar_Filter_ValidateNotZero
validateNotZero()

Next Class
Solar_Filter_ValidateNumeric

validateNotZero()

public bool validateNotZero ( mixed $value )

Validates that the value is not exactly zero.

Parameters

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

Returns

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

Description

Validates that the value is not exactly zero.