---
id: fast-colors.quantizeconfig.isboxvalid
title: QuantizeConfig.isBoxValid property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-colors](./fast-colors.md) &gt; [QuantizeConfig](./fast-colors.quantizeconfig.md) &gt; [isBoxValid](./fast-colors.quantizeconfig.isboxvalid.md)

## QuantizeConfig.isBoxValid property

This predicate can be used to screen out undesirable colors from the final output. EG: excluding colors with a pixelCount below a min value.

<b>Signature:</b>

```typescript
isBoxValid: ((box: PixelBox) => boolean) | null;
```