Product (Function) — Skript

Addon: Skript · Category: Function

Syntax

product(ns: objects) :: number

Description

Calculates the product of a list of numbers.

Examples

product(1) = 1
product(2, 3, 4) = 24
product({some list variable::*})
product(2, {_v::*}, and the player's y-coordinate)

View source