php8.5
Home/ Manual/ quickhash / quickhashintstringhash/ QuickHashIntStringHash::exists

QuickHashIntStringHash::exists

PHP function Edit on GitHub ✎

(PECL quickhash >= Unknown)

This method checks whether a key is part of the hash

Description

QuickHashIntStringHash::exists(int $key): bool

This method checks whether an entry with the provided key exists in the hash.

Parameters

key

The key of the entry to check for whether it exists in the hash.

Return Values

Returns true when the entry was found, or false when the entry is not found.

Source: reference/quickhash/quickhashintstringhash/exists.xml · from the official PHP manual (php/doc-en)