Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion src/ExtendedArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,18 @@ public function has($key)

return true;
}


/**
* Check if the given key contains a non-empty value.
*
* @param string $key
* @return bool
*/
public function filled($key)
{
return $this->has($key);
}

/**
* Check if the given key is an empty string.
*
Expand Down