latch
Conditionally pass or hold input
new latch()
Methods
next(x, control): out1
Arguments
Name | Type | Default | Description |
---|---|---|---|
x | number | ||
control | number |
Returns
Name | Type | Description |
---|---|---|
out1 | number | The latched output |
reset(): out1
Returns
Name | Type | Description |
---|---|---|
out1 |