---
url: /dyad/dev/stdlib/DiscreteComponents/components/Examples.Integrator.LessThan.md
description: >-
  Dyad Examples.Integrator.LessThan docs. 
  DiscreteComponents.Examples.Integrator.LessThan()
---

# `Examples.Integrator.LessThan` {#Examples.Integrator.LessThan}

## Usage {#Usage}

`DiscreteComponents.Examples.Integrator.LessThan()`

## Connectors {#Connectors}

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

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

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

## Behavior {#Behavior}

Behavior of this component cannot be rendered because it includes `path` variables.

## Source {#Source}

```dyad
component LessThan
  u1 = RealInput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": -50, "y1": 210, "x2": 50, "y2": 310, "rot": 0}
      },
      "tags": []
    }
  }
  u2 = RealInput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": -40, "y1": 720, "x2": 60, "y2": 820, "rot": 0}
      },
      "tags": []
    }
  }
  y = BooleanOutput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": 960, "y1": 450, "x2": 1060, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
relations
  y = u1 < u2
metadata {"Dyad": {"doc": {"behavior": false}}}
end
```

```dyad
component LessThan
  u1 = RealInput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": -50, "y1": 210, "x2": 50, "y2": 310, "rot": 0}
      },
      "tags": []
    }
  }
  u2 = RealInput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": -40, "y1": 720, "x2": 60, "y2": 820, "rot": 0}
      },
      "tags": []
    }
  }
  y = BooleanOutput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": 960, "y1": 450, "x2": 1060, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
relations
  y = u1 < u2
metadata {"Dyad": {"doc": {"behavior": false}}}
end
```

## Test Cases {#Test-Cases}

No test cases defined.

## Related {#Related}

* Examples

* Experiments

* Analyses
