File "hasAttribute.md"

Full Path: /var/www/html/wordpress/wp-content/plugins/wp-optimize/vendor/simplehtmldom/simplehtmldom/docs/HtmlNode/hasAttribute.md
File size: 241 bytes
MIME-type: text/plain
Charset: utf-8

 
Open Back
```php
hasAttribute ( string $name ) : bool
```

| Parameter | Description            |
|-----------|------------------------|
| `name`    | Name of the attribute. |

Returns true if the current node has an attribute with the specified name.