WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

Loader::get_url() public WC 1.0

Gets the URL to an asset file.

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

No Hooks.

Return

String. URL to asset.

Usage

$result = Loader::get_url( $file, $ext );
$file(string) (required)
File name (without extension).
$ext(string) (required)
File extension.

Code of Loader::get_url() WC 5.3.0

<?php
public static function get_url( $file, $ext ) {
	$suffix = '';

	// Potentially enqueue minified JavaScript.
	if ( 'js' === $ext ) {
		$script_debug = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG;
		$suffix       = self::should_use_minified_js_file( $script_debug ) ? '.min' : '';
	}

	return plugins_url( self::get_path( $ext ) . $file . $suffix . '.' . $ext, WC_ADMIN_PLUGIN_FILE );
}