Campo · Binary
Campo · Binary · string.binary. Método de geração · Exemplo
string.binary
Configurações do gerador
Gere dados para ver os resultados.
Parâmetros & Exemplo
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'.
Exemplo
"0b1"Use dados sintéticos em um ambiente de teste.