lsolesen\pel\PelIfd::offsetExists PHP Method

offsetExists() public method

This methods is part of the ArrayAccess SPL interface for overriding array access of objects, it allows you to check for existance of an entry in the IFD: if (isset($ifd[PelTag::FNUMBER])) ... do something with the F-number.
public offsetExists ( lsolesen\pel\PelTag $tag ) : boolean
$tag lsolesen\pel\PelTag the offset to check.
return boolean whether the tag exists.
    public function offsetExists($tag)
    {
        return isset($this->entries[$tag]);
    }