7e98a7df7
1 2 3 4 5 6 7
8 9
function getAPId (object: string | { id: string }) { if (typeof object === 'string') return object return object.id } export { getAPId }