Merx

$pricingRules->has()

Checks if the given object or id is in the collection

$pricingRules->has(string|TValue $key): bool

Parameters

Name Type Default
$key string or TValue -

Return type

bool

Parent class

Wagnerwagner\Merx\PricingRules inherited from Kirby\Cms\Collection