WordPress at a glance
function is not described

WC_Order::has_cart_hash() public WC 1.0

See if order matches cart_hash.

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

No Hooks.

Return

true/false.

Usage

$WC_Order = new WC_Order();
$WC_Order->has_cart_hash( $cart_hash );
$cart_hash(string)
Cart hash.

Code of WC_Order::has_cart_hash() WC 5.0.0

<?php
public function has_cart_hash( $cart_hash = '' ) {
	return hash_equals( $this->get_cart_hash(), $cart_hash ); // @codingStandardsIgnoreLine
}