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

***

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

# Function: validatePrices()

> **validatePrices**(`prices`): `boolean`

Validates an array of prices, checking if each price is valid (greater than or equal to zero).

## Parameters

• **prices**: `number`[]

An array of prices to validate.

## Returns

`boolean`

True if all prices are valid, false otherwise.

## Defined in

[utils/price.util.ts:72](https://github.com/Bond-Sports/bondUtils/blob/545f16ceb055481acfd7641d7809c0f252d3a5e6/packages/general/src/utils/price.util.ts#L72)
