# Bug in perspective.common.config.ParamType.isIn

**URL:** <https://forum.inductiveautomation.com/t/bug-in-perspective-common-config-paramtype-isin/98434>\
**Category:** Module Development\
**Tags:** perspective\
**Created:** [November 10, 2024, 4:16am UTC](https://forum.inductiveautomation.com/t/bug-in-perspective-common-config-paramtype-isin/98434 "2024-11-10T04:16:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmusson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmusson/32/87530_2.png) [@bmusson](https://forum.inductiveautomation.com/u/bmusson)\
**Post date:** [November 10, 2024, 4:16am UTC](https://forum.inductiveautomation.com/t/bug-in-perspective-common-config-paramtype-isin/98434/1 "2024-11-10T04:16:11Z")

</div>

I thought I was going crazy, but there's something wacky with the [ParamType](https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.33/com/inductiveautomation/perspective/common/config/ParamType.html) `isIn()` method....

`isIn()` is true for `output` parameters, and false for `inout` parameters 🙃

From a `ViewModel` extension function:

```python
this.config.paramDefinitions.forEach { (param, type) ->
    logger.info("$param (${type.name}): isIn() => ${type.isIn}, isOut() => ${type.isOut}")
}

```

 ![20241109_230924](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/6/c6f4c2752e361f917f0ce3bd352a397437e0f645.png)  
 ![20241109_231343](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/e/be482d112b6623ca84f697f281180906444b0005.png)

v8.1.40
