[**@bondsports/general**](../README.md) • **Docs**

***

[@bondsports/general](../globals.md) / validateQuantity

# Function: validateQuantity()

> **validateQuantity**\<`T`\>(`object`): `boolean`

Validates the quantity of an object.

## Type Parameters

• **T** *extends* `HasQuantities`

## Parameters

• **object**: `T`

The object to validate.

## Returns

`boolean`

A boolean indicating whether the quantity is valid.

## Defined in

[validations/pricing/quantity.validations.ts:9](https://github.com/Bond-Sports/bondUtils/blob/545f16ceb055481acfd7641d7809c0f252d3a5e6/packages/general/src/validations/pricing/quantity.validations.ts#L9)
