This function returns a string which is the modality of the sign that was passed into it.

Parameters
sign (string) the sign we want the modality for.

getElement

This function returns a string which is the element of the sign that was passed into it.

getElement
Parameters
sign (string) the sign we want the element for.

getCompleteSignInfo

This function returns an object with all the data about the sign.

getCompleteSignInfo
Parameters
sign (string) the sign we want the info for.
Returns
object: an object with the data as fields.

oppositeSigns

oppositeSigns

Type: Object

getOppositeSign

This function returns a string which is the opposite sign of the sign passed into it.

getOppositeSign
Parameters
sign (string) the name of the signs we want the opposite for.

areSignsOpposite

This function confirms if the two signs are opposites.

areSignsOpposite
Parameters
signA (string) the name of the second sign.
signB (any)
Returns
boolean: wether the signs are opposite.

getSign

This function returns a string which is the astrological sign of a person born on that date.

getSign
Parameters
date (string) a string representing the date.
format (string = YYYY-MM-DD) a optional string representing the format of the date, must be moment.js compatible.

signsList

signsList

Type: Object