BlackHoleSourcestype
The papers behind each fact of a black hole: lists, empty where the fact is not known.
Import it
import type { BlackHoleSources } from "@johnmorrisdotca/hoshi-stars/black-holes";
Definition
interface BlackHoleSources {
position: BlackHoleSource[];
mass: BlackHoleSource[];
distance: BlackHoleSource[];
companion: BlackHoleSource[];
found: BlackHoleSource[];
}
Members
| Name | Type | Description |
|---|---|---|
position | BlackHoleSource[] | Where the position is from. |
mass | BlackHoleSource[] | Where the mass is from. |
distance | BlackHoleSource[] | Where the distance is from. |
companion | BlackHoleSource[] | Where the companion star's type is from. |
found | BlackHoleSource[] | Where the year and the way it was found are from. |
Examples
import { blackHole, type BlackHoleSources } from "@johnmorrisdotca/hoshi-stars/black-holes";
const sources: BlackHoleSources = blackHole("V404 Cygni")!.sources;
console.log(sources.distance.map((s) => s.citation));[ 'Miller-Jones 2009, ApJ 706, L230' ]What it prints (run when this page was built)