class IsEmpty extends Comparator (View source)

Checks if an array is empty.

Traits

Methods

bool
__invoke(mixed $value)

Compare the input value against the comparator.

bool
check(mixed $value)

Compare the input value against the comparator.

static Makes
make()

Create a new instance of the class.

from  Makes

Details

final bool __invoke(mixed $value)

Compare the input value against the comparator.

Parameters

mixed $value

Return Value

bool

bool check(mixed $value)

Compare the input value against the comparator.

Parameters

mixed $value

Return Value

bool

static Makes make()

Create a new instance of the class.

Return Value

Makes