WordPress at a glance
function is not described

PHPMailer\PHPMailer

PHPMailer::hasMultiBytes() public WP 1.0

Check if a string contains multi-byte characters.

{} It's a method of the class: PHPMailer{}

No Hooks.

Return

true|false. Nothing.

Usage

$PHPMailer = new PHPMailer();
$PHPMailer->hasMultiBytes( $str );
$str(string) (required)
multi-byte text to wrap encode

Code of PHPMailer::hasMultiBytes() WP 5.7.2

<?php
public function hasMultiBytes($str)
{
    if (function_exists('mb_strlen')) {
        return strlen($str) > mb_strlen($str, $this->CharSet);
    }

    //Assume no multibytes (we can't handle without mbstring functions anyway)
    return false;
}