> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/units/are-same-unit.md).

# Are Same Unit

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-efecbe71685edbfd78aa8695a7e4e2ba12b6c16a%2Fare-same-unit.png?alt=media)

## Description

Returns true if the two objects are the same unit, or if they are both invalid units.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node supplies Data for an Execution node.

## Inputs

| Input  | Type   | Required | Description                     |
| ------ | ------ | -------- | ------------------------------- |
| Unit A | Object | Yes      | A unit to compare to other pin. |
| Unit B | Object | Yes      | A unit to compare to other pin. |

## Outputs

| Output        | Type    | Description                                  |
| ------------- | ------- | -------------------------------------------- |
| Are Same Unit | Boolean | Outputs true or false if both are same unit. |

\
\
**Contributors**

AddiCt3d 2CHa0s
