API Reference / aspect · function

Function: aspect()

function aspect(
   body, 
   kind, 
   target, 
   orb?, 
   zodiac?): Predicate;

Defined in: query.ts:53

True while body is within orb deg of an exact kind aspect to target -- a fixed ecliptic longitude (deg) or another body name.

Parameters

body

BodyId

kind

string

target

number | BodyId

orb?

number = 1.0

zodiac?

Zodiac = "tropical"

Returns

Predicate