WordPress at a glance
function is not described

WC_Order::has_billing_address() public WC 3.0.4

Returns true if the order has a billing address.

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

No Hooks.

Return

true/false.

Usage

$WC_Order = new WC_Order();
$WC_Order->has_billing_address();

Changelog

Since 3.0.4 Introduced.

Code of WC_Order::has_billing_address() WC 5.0.0

<?php
public function has_billing_address() {
	return $this->get_billing_address_1() || $this->get_billing_address_2();
}