pub fn path(full: bool) -> StringExpand description
Returns path to current program. Returns just std::env::args().nth(0) for non-WASM. And returns current URL before search params and before hash with full = false, returns full url with full = true.