> 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/inventory/get-is-weapon-type.md).

# Get Is Weapon Type

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-bd80e1e7c8be8f4faf923982a906c456454a38a5%2Fget-is-weapon-type.png?alt=media)

## Description

Returns true if the Weapon matches the Weapon Type

## Node Type

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

## Inputs

| Input       | Type        | Required | Description                             |
| ----------- | ----------- | -------- | --------------------------------------- |
| Weapon      | Object      | Yes      | Which weapon to check weapon type.      |
| Weapon Type | Weapon Type | Yes      | The weapon type to check for of weapon. |

## Outputs

| Output         | Type    | Description                      |
| -------------- | ------- | -------------------------------- |
| Is Weapon Type | Boolean | True if weapon matches the type. |

\
\
**Contributors**

AddiCt3d 2CHa0s
