WordPress at a glance
function is not described

Automattic\WooCommerce\Blocks\Domain

Package::get_url() public WC 1.0

Returns the url to the blocks plugin directory.

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

No Hooks.

Return

String.

Usage

$Package = new Package();
$Package->get_url( $relative_url );
$relative_url(string)
If provided, the relative url will be appended to the plugin url.

Code of Package::get_url() WC 5.0.0

<?php
public function get_url( $relative_url = '' ) {
	// Append index.php so WP does not return the parent directory.
	return plugin_dir_url( $this->path . '/index.php' ) . $relative_url;
}