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
OptionWeightsTuple
Type alias OptionWeightsTuple<T>
Option
Weights
Tuple
<
T
>
:
[
option
:
T
,
weights
:
number
|
WeightFn
]
[option, weights] 元组
Type Parameters
T
[option, weights] 元组