フィールド · Binary

フィールド · Binary · string.binary. 生成メソッド · 例

string.binary

生成設定

生成したデータはここに表示されます。

パラメーター & 例

Returns a binary string.

string.binary(options?: { length?, prefix? })
options
The optional options object.
options.length
The length of the string (excluding the prefix) to generate either as a fixed length or as a length range. Defaults to 1.
options.prefix
Prefix for the generated number. Defaults to '0b'.

例

"0b1"

テスト環境で合成データを使用してください。

関連ジェネレーター

シナリオを見る