bodyOfFrameId

function bodyOfFrameId
universe/src/frames.ts:84
bodyOfFrameId(id: FrameId) → { body: readonly number[]; galaxy: GalaxyId; kind: 'body'; system: SystemId } | null

Read a body-centered frame id back to its address, or null for any other kind of frame. The inverse of bodyFrameId, beside it for the reason systemOfFrameId is beside its constructor.

idFrameId
Undocumented
Returns{ body: readonly number[]; galaxy: GalaxyId; kind: 'body'; system: SystemId } | null