function isPaymentStatus
isPaymentStatus(s: string): s is PaymentStatus

Type guard: check if a string is a valid PaymentStatus

Parameters

s: string

Return Type

Usage

import { isPaymentStatus } from "docs/payments.ts";