Utils
ValidateInputOutputTypes
ValidateInputOutputTypes(inputs, output) => void
Validates that the given inputs are inputs (thus have 0 input ports and at least 1 output ports) and the output is an outputs (thus have at least one input port and 0 output ports).
Parameters
inputs: Map<string, DigitalComponent>
– A map containing the input components to verify.output: DigitalComponent
– The output component to verify.