export { DELIVERY_CARRIERS } from '../../../shared/constants/delivery-carrier.js'

/**
 * @param {unknown} value
 * @returns {value is typeof DELIVERY_CARRIERS[number]}
 */
export function isDeliveryCarrier(value) {
  return typeof value === 'string' && DELIVERY_CARRIERS.includes(value)
}
