Merx

$cart->has()

Checks by key if an element is included

$cart->has( $key): bool

Parameters

Name Type Default
$key mixed -

Return type

bool

Parent class

Wagnerwagner\Merx\Cart inherited from Kirby\Toolkit\Iterator