WordPress at a glance
function is not described

PHPMailer\PHPMailer

PHPMailer::inlineImageExists() public WP 1.0

Check if an inline attachment is present.

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

No Hooks.

Return

true|false. Nothing.

Usage

$PHPMailer = new PHPMailer();
$PHPMailer->inlineImageExists();

Code of PHPMailer::inlineImageExists() WP 5.7.2

<?php
public function inlineImageExists()
{
    foreach ($this->attachment as $attachment) {
        if ('inline' === $attachment[6]) {
            return true;
        }
    }

    return false;
}