isEmpty() публичный Метод

Is it a null or otherwise empty value?
public isEmpty ( mixed $value ) : boolean
$value mixed The value to test for emptiness
Результат boolean
Пример #1
0
 /**
  * @group           BooleanFilter
  * @group           BooleanFilterIsEmpty
  * @covers          FOF30\Model\DataModel\Filter\Boolean::isEmpty
  * @dataProvider    BooleanDataprovider::getTestIsEmpty
  */
 public function testIsEmpty($test, $check)
 {
     $msg = 'Boolean::isEmpty %s - Case: ' . $check['case'];
     $filter = new Boolean(\JFactory::getDbo(), (object) array('name' => 'test', 'type' => 'tinyint(1)'));
     $result = $filter->isEmpty($test['value']);
     $this->assertEquals($check['result'], $result, sprintf($msg, 'Failed to detect if a variable is empty'));
 }