export const yearForId = ({ platform, id }) => {
Guesses the year for an item id using named options.
Target style API. Preferred for new code.
Helpers
Source: helpers/getYearById.mjs
Target Style
export const yearForId = ({ platform, id }) => {
Guesses the year for an item id using named options.
Target style API. Preferred for new code.
export const getYearByICId = (id) => yearForId({ platform: 'ic', id })
Guesses the year for an Intimcity id.
Target style API. Preferred for new code.
export const getYearByRDId = (id) => yearForId({ platform: 'rd', id })
Guesses the year for an RD id.
Target style API. Preferred for new code.
Legacy Style