API Reference / detectYogas · function
Function: detectYogas()
function detectYogas(signs, ascSign): Yoga[];
The placement yogas present in a chart. signs maps each of the seven
classical planets to its 0-based sign index; ascSign is the Ascendant's
sign index.
Parameters
| Parameter | Type |
|---|---|
signs | Record<string, number> |
ascSign | number |
Returns
Yoga[]