nspl\ds\Set::offsetExists PHP 메소드

offsetExists() 공개 메소드

(PHP 5 >= 5.0.0)
Whether a offset exists
public offsetExists ( mixed $index ) : boolean
$index mixed

An offset to check for.

리턴 boolean true on success or false on failure.

The return value will be casted to boolean if non-boolean was returned.

    public function offsetExists($index)
    {
        throw new \BadMethodCallException('Set does not support indexing');
    }