Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 322 Bytes

Is.md

File metadata and controls

12 lines (10 loc) · 322 Bytes

\GeekLab\ToolBox\Is

Basic usage:

empty($something, bool $nullValid): bool

###Description: Will check if $something is empty, will return FALSE on 0 and "0". Also will return TRUE is $something is NULL, unless $nullValid is set to TRUE.

Usage:

if(\GeekLab\ToolBox\Is::empty(''))
{
    //...
}