import type { Reducer } from "./api.js" ; import { __mathop } from "./internal/mathop.js" ; /**
 * Reducer to compute product of values with optional `init` value
 * (default: 1).
 */ export function mul ( init ? ) ; export function mul ( xs ) ; export function mul ( init , xs ) ; export function mul ( ... args ) { return __mathop ( mul , ( acc , x ) => acc * x , 1 , args ) ; }