The blank function determines whether the given value is "blank":
<?php blank('');
blank('   ');
blank(null);
blank(collect());


blank(0);
blank(true);
blank(false);
<?php     function filled($value)

    {

        return ! blank($value);

    }

}
<?php     public function testBlank()

    {

        $this->assertTrue(blank(null));

        $this->assertTrue(blank(''));

        $this->assertTrue(blank('  '));

        $this->assertFalse(blank(10));
<?php     public function testBlank()

    {

        $this->assertTrue(blank(null));

        $this->assertTrue(blank(''));

        $this->assertTrue(blank('  '));

        $this->assertFalse(blank(10));

        $this->assertFalse(blank(true));
<?php     {

        $this->assertTrue(blank(null));

        $this->assertTrue(blank(''));

        $this->assertTrue(blank('  '));

        $this->assertFalse(blank(10));

        $this->assertFalse(blank(true));

        $this->assertFalse(blank(false));
<?php         $this->assertTrue(blank(null));

        $this->assertTrue(blank(''));

        $this->assertTrue(blank('  '));

        $this->assertFalse(blank(10));

        $this->assertFalse(blank(true));

        $this->assertFalse(blank(false));

        $this->assertFalse(blank(0));
<?php         $this->assertTrue(blank(''));

        $this->assertTrue(blank('  '));

        $this->assertFalse(blank(10));

        $this->assertFalse(blank(true));

        $this->assertFalse(blank(false));

        $this->assertFalse(blank(0));

        $this->assertFalse(blank(0.0));
<?php         $this->assertTrue(blank('  '));

        $this->assertFalse(blank(10));

        $this->assertFalse(blank(true));

        $this->assertFalse(blank(false));

        $this->assertFalse(blank(0));

        $this->assertFalse(blank(0.0));
<?php         $this->assertFalse(blank(10));

        $this->assertFalse(blank(true));

        $this->assertFalse(blank(false));

        $this->assertFalse(blank(0));

        $this->assertFalse(blank(0.0));



        $object = new SupportTestCountable();
<?php         $this->assertFalse(blank(true));

        $this->assertFalse(blank(false));

        $this->assertFalse(blank(0));

        $this->assertFalse(blank(0.0));



        $object = new SupportTestCountable();

        $this->assertTrue(blank($object));
<?php         $this->assertFalse(blank(0.0));



        $object = new SupportTestCountable();

        $this->assertTrue(blank($object));

    }



    public function testClassBasename()