q5m.js - Quantum Computing Library - v0.1.1
Home
GitHub
NPM
Preparing search index...
isZeroOne
Function isZeroOne
isZeroOne
(
value
:
unknown
)
:
value
is
ZeroOne
Type guard to check if a value is 0 or 1.
Parameters
value
:
unknown
Value to validate
Returns
value
is
ZeroOne
True if value is 0 or 1
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Home
GitHub
NPM
q5m.js - Quantum Computing Library - v0.1.1
Loading...
Type guard to check if a value is 0 or 1.