Binary生成器

Binary生成器 · number.binary. 生成方法 · 示例

number.binary

生成设置

生成后在这里查看结果。

参数 & 示例

Returns a binary number. The bounds are inclusive.

number.binary(options?: number | { min?: number; max?: number; })
options
Maximum value or options object.
options.min
Lower bound for generated number. Defaults to 0.
options.max
Upper bound for generated number. Defaults to 1.

示例

"1"

请在测试环境使用合成数据。

相关生成器

探索场景模板