diff --git a/src/ExtendedArray.php b/src/ExtendedArray.php index 629f851..544489c 100644 --- a/src/ExtendedArray.php +++ b/src/ExtendedArray.php @@ -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. *