function isCartMandate
isCartMandate(mandate: Mandate): mandate is CartMandate

Type guard to check if a mandate is a CartMandate

Uses the existing MandateTypeDetectorRegistry for consistent and extensible type detection across the entire codebase.

Parameters

mandate: Mandate
  • The mandate to check

Return Type

mandate is CartMandate

True if the mandate is a CartMandate

Usage

import { isCartMandate } from ".";