필드 · 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"

테스트 환경에서 합성 데이터를 사용하세요.

관련 생성기

시나리오 탐색