All files / app/payment/storedInstrument isCardInstrument.ts

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6    44x 358x    
import { CardInstrument, PaymentInstrument } from '@bigcommerce/checkout-sdk';
 
export default function isCardInstrument(instrument: PaymentInstrument): instrument is CardInstrument {
    return instrument.type === 'card';
}