CakeFest 2024: The Official CakePHP Conference

WeakMap::offsetExists

(PHP 8)

WeakMap::offsetExistsあるオブジェクトがマップ内に存在するかを調べる

説明

public WeakMap::offsetExists(object $object): bool

指定されたオブジェクトが、マップ内で参照されているかを調べます。

パラメータ

object

チェックするオブジェクト

戻り値

オブジェクトがマップ内に含まれている場合、true を返します。 そうでない場合、false を返します。

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top