MathPHP\SetTheory\Set::isEmpty PHP Method

isEmpty() public method

************************************************************************ SET PROPERTIES - Empty set ************************************************************************
public isEmpty ( ) : boolean
return boolean
    public function isEmpty() : bool
    {
        return empty($this->A);
    }

Usage Example

Example #1
0
 /**
  * @dataProvider dataProviderForSingleSet
  */
 public function testIsEmpty(array $members)
 {
     $set = new Set($members);
     $this->assertEquals(empty($members), $set->isEmpty());
 }
All Usage Examples Of MathPHP\SetTheory\Set::isEmpty