API Reference / hasLunation · function
Function: hasLunation()
function hasLunation(filter?): Selector;
Matches a lunation near the context instant. eclipse: true requires any
eclipse, false a plain lunation; eclipseKind narrows to solar/lunar;
onNatal requires a named natal body under the lunation, anyOnNatal
any at all.
Parameters
| Parameter | Type |
|---|---|
filter | { anyOnNatal?: boolean; eclipse?: boolean; eclipseKind?: "solar" | "lunar"; house?: number; onNatal?: string; phase?: "new" | "full"; } |
filter.anyOnNatal? | boolean |
filter.eclipse? | boolean |
filter.eclipseKind? | "solar" | "lunar" |
filter.house? | number |
filter.onNatal? | string |
filter.phase? | "new" | "full" |