foo9/blank_present

The blank and present function for PHP.

1.0.1 2015-03-25 15:57 UTC

This package is not auto-updated.

Last update: 2025-03-10 08:57:11 UTC


README

Build Status

The blank and present function for PHP.

Requirements

PHP 5.4+

Usage

The blank function:

if (_blank($var)) {
    // do stuff
}

The present function:

if (_present($var)) {
    // do stuff
}

Running tests

$ vendor/bin/phpunit

License

MIT