BlackHoleSourcetype
A paper that a fact comes from.
Import it
import type { BlackHoleSource } from "@johnmorrisdotca/hoshi-stars/black-holes";
Definition
interface BlackHoleSource {
key: string;
citation: string;
link: string | undefined;
}
Members
| Name | Type | Description |
|---|---|---|
key | string | A short key, unique in the table ( |
citation | string | The citation: author, year, journal, volume and page ( |
link | string | undefined | Where to read it: an NASA ADS, arXiv or Wikidata address, or |
Examples
import { blackHole, type BlackHoleSource } from "@johnmorrisdotca/hoshi-stars/black-holes";
const source: BlackHoleSource = blackHole("A0620-00")!.sources.mass[0]!;
console.log(source.citation, source.link);Cantrell 2010, ApJ 710, 1127 https://ui.adsabs.harvard.edu/abs/2010ApJ...710.1127CWhat it prints (run when this page was built)