# Wrapping array of booleans

**URL:** https://discourse.itk.org/t/wrapping-array-of-booleans/2236
**Category:** Engineering
**Tags:** rtk
**Created:** [September 9, 2019, 9:40am UTC](https://discourse.itk.org/t/wrapping-array-of-booleans/2236 "2019-09-09T09:40:21Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![phcerdan](https://discourse.itk.org/user_avatar/discourse.itk.org/phcerdan/32/286_2.png) [@phcerdan](https://discourse.itk.org/u/phcerdan)
#### Post date: [September 9, 2019, 1:41pm UTC](https://discourse.itk.org/t/wrapping-array-of-booleans/2236/3 "2019-09-09T13:41:49Z")

</div>

Not tested, but should be easy to add a couple of lines here:

> <https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Core/Common/wrapping/SwigExtras.i#L15>

```auto
%array_functions(bool, BArray);
%array_class(bool, BArrayClass);

```

---

_[View the full topic](https://discourse.itk.org/t/wrapping-array-of-booleans/2236)._
