/**
 * Determine whether the string is HTML.
 *
 * @return bool Returns TRUE on success or FALSE otherwise.
 */
public function isHTML(): bool

Examples

if (Strings::create('<b>fòôbàřs</b>')->isHTML()) {
    // do something...
}

Getting Started

Methods