---
url: /dyad/stable/stdlib/BlockComponents/types/Interfaces.PartialBooleanSI2SO.md
description: >-
  Dyad Interfaces.PartialBooleanSI2SO docs.  Partial block with 2 input and 1
  output Boolean signal.
---

# `Interfaces.PartialBooleanSI2SO` {#Interfaces.PartialBooleanSI2SO}

Partial block with 2 input and 1 output Boolean signal.

Block has two Boolean input and one Boolean output signal with a 3D icon (e.g., used in Blocks.Logical library).

## Usage {#Usage}

`BlockComponents.Interfaces.PartialBooleanSI2SO()`

## Connectors {#Connectors}

* `u1` - This connector represents a boolean signal as an input to a component ([`BooleanInput`](/stdlib/Dyad/connectors/BooleanInput#BooleanInput))

* `u2` - This connector represents a boolean signal as an input to a component ([`BooleanInput`](/stdlib/Dyad/connectors/BooleanInput#BooleanInput))

* `y` - This connector represents a boolean signal as an output from a component ([`BooleanOutput`](/stdlib/Dyad/connectors/BooleanOutput#BooleanOutput))

## Source {#Source}

```dyad
"""
Partial block with 2 input and 1 output Boolean signal.

Block has two Boolean input and one Boolean output signal
with a 3D icon (e.g., used in Blocks.Logical library).
"""
partial component PartialBooleanSI2SO
  "Connector of first Boolean input signal"
  u1 = BooleanInput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": -100, "y1": 150, "x2": 0, "y2": 250, "rot": 0}
      },
      "tags": []
    }
  }
  "Connector of second Boolean input signal"
  u2 = BooleanInput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": -100, "y1": 710, "x2": 0, "y2": 810, "rot": 0}
      },
      "tags": []
    }
  }
  "Connector of Boolean output signal"
  y = BooleanOutput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
relations
metadata {"Dyad": {"labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}]}}
end
```

```dyad
"""
Partial block with 2 input and 1 output Boolean signal.

Block has two Boolean input and one Boolean output signal
with a 3D icon (e.g., used in Blocks.Logical library).
"""
partial component PartialBooleanSI2SO
  "Connector of first Boolean input signal"
  u1 = BooleanInput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": -100, "y1": 150, "x2": 0, "y2": 250, "rot": 0}
      },
      "tags": []
    }
  }
  "Connector of second Boolean input signal"
  u2 = BooleanInput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": -100, "y1": 710, "x2": 0, "y2": 810, "rot": 0}
      },
      "tags": []
    }
  }
  "Connector of Boolean output signal"
  y = BooleanOutput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
relations
metadata {"Dyad": {"labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}]}}
end
```

## Test Cases {#Test-Cases}

No test cases defined.

## Related {#Related}

* Examples

* Experiments

* Analyses
