WordPress at a glance
function is not described

is_ajax() WC 1.0

Is_ajax - Returns true when the page is loaded via ajax.

No Hooks.

Return

true|false. Nothing.

Usage

is_ajax();

Code of is_ajax() WC 5.3.0

<?php
function is_ajax() {
	return function_exists( 'wp_doing_ajax' ) ? wp_doing_ajax() : Constants::is_defined( 'DOING_AJAX' );
}