Returns true if a block exists by the specified block offset, or false otherwise.
Parameters
$offsetintrequired- Offset of block to check for.
Source
#[ReturnTypeWillChange]
public function offsetExists( $offset ) {
return isset( $this->blocks[ $offset ] );
}
Changelog
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.