# getHydrochemicalFacies

> Hydrochemical facies from the Piper percentages: the cation and anion each above 50 meq % of their triangle, or mixed when none dominates. bicarbonate stands for HCO₃⁻ + CO₃²⁻.

> **getHydrochemicalFacies**(`sample`): [`HydrochemicalFacies`](/utils/api/type-aliases/HydrochemicalFacies) \| `undefined`

Hydrochemical facies from the Piper percentages: the cation and anion each
above 50 meq % of their triangle, or `mixed` when none dominates.
`bicarbonate` stands for HCO₃⁻ + CO₃²⁻.

## Parameters

### sample

`WaterSample`

## Returns

[`HydrochemicalFacies`](/utils/api/type-aliases/HydrochemicalFacies) \| `undefined`
