SproutCMS

This is the code documentation for the SproutCMS project

function isEmpty()

Sadly, the PHP builtin empty() considers '0' to be empty, but it actually isn't

Usage

bool Validator::isEmpty ( mixed $val );

Arguments

  1. mixed $val

Return value

  • bool
    True if empty, false if not.