WordPress at a glance
function is not described

PHPMailer\PHPMailer

PHPMailer::isSendmail() public WP 1.0

Send messages using $Sendmail.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of PHPMailer::isSendmail() WP 5.7.2

<?php
public function isSendmail()
{
    $ini_sendmail_path = ini_get('sendmail_path');

    if (false === stripos($ini_sendmail_path, 'sendmail')) {
        $this->Sendmail = '/usr/sbin/sendmail';
    } else {
        $this->Sendmail = $ini_sendmail_path;
    }
    $this->Mailer = 'sendmail';
}