Skip to content

@vtj


@vtj / base / random

Function: random()

random(min, max): number

生成一个随机数

Parameters

min

number

max

number

Returns

number

Defined in

packages/base/src/util.ts:38

Released under the MIT License.