GitHub
Preparing search index...
The search index is not available
random-picker - v0.0.3
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Options
Store
选项存储类
Options
Pool
维护一个选项池
Random
Picker
工具类库:从选项池中随机挑选n个选项
Weights
Item
静态权重
Weights
Fn
Item
动态权重
Weight
Fn
Pool
Item
选项池数组item
Option
List
Item
选项列表item
Option
List
选项列表
Option
Weights
Tuple
[option, weights] 元组
Seed
Seed 数组
random-picker - v0.0.3
WeightFn
Type alias WeightFn
Weight
Fn
:
(
(
weightTotal
:
number
)
=>
number
)
Type declaration
(
weightTotal
:
number
)
:
number
Parameters
weightTotal:
number
Returns
number