WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

Loader::is_admin_or_embed_page() public WC 1.0

Returns true if we are on a JS powered admin page or a "classic" (non JS app) powered admin page (an embedded page).

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

No Hooks.

Return

null. Nothing.

Usage

$result = Loader::is_admin_or_embed_page();

Code of Loader::is_admin_or_embed_page() WC 5.2.2

<?php
public static function is_admin_or_embed_page() {
	return self::is_admin_page() || self::is_embed_page();
}