Link Search Menu Expand Document

CreditCard overview

Added in v1.0.0


Table of contents


utils

CreditCard

Any Debit/Credit Card Number

Signature

export declare const CreditCard: t.BrandC<t.StringC, CreditCardBrand>

Added in v1.0.0

CreditCard (type alias)

Signature

export type CreditCard = t.Branded<string, CreditCardBrand>

Added in v1.0.0

CreditCardBrand (interface)

Signature

export interface CreditCardBrand {
  readonly CreditCard: unique symbol
}

Added in v1.0.0

Mastercard

Mastercard Card Number

Signature

export declare const Mastercard: t.BrandC<t.StringC, MastercardBrand>

Added in v1.0.0

Mastercard (type alias)

Signature

export type Mastercard = t.Branded<string, MastercardBrand>

Added in v1.0.0

MastercardBrand (interface)

Signature

export interface MastercardBrand {
  readonly Mastercard: unique symbol
}

Added in v1.0.0

Visa

Signature

export declare const Visa: t.BrandC<t.StringC, VisaBrand>

Added in v1.0.0

Visa (type alias)

Signature

export type Visa = t.Branded<string, VisaBrand>

Added in v1.0.0

VisaBrand (interface)

Signature

export interface VisaBrand {
  readonly Visa: unique symbol
}

Added in v1.0.0