Const
The number to convert (must be between 1 and 12)
Whether to use circular indexing (default: false)
The astrological sign word
toAstroSign(1) // 'Aries'
toAstroSign(12) // 'Pisces'
toAstroSign(13) // Error: Input must be between 1 and 12
toAstroSign(13, true) // 'Aries'
toAstroSign(0) // Error: Input must be between 1 and 12
toAstroSign(1.5) // Error: Input must be an integer
toAstroSign('Aries') // Error: Input must be a number
Converts a number to an astrological sign word