Skip to content

Commit 383c557

Browse files
committed
update new method's doc comment.
1 parent 2754636 commit 383c557

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/libs/CardUtils.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function getMonthFromExpirationDateString(expirationDateString: string) {
3838

3939
/**
4040
* @param card
41-
* @returns boolean
41+
* @returns number
4242
*/
4343
function getAssignedCardSortKey(card: Card): number {
4444
if (!isExpensifyCard(card)) {
@@ -47,6 +47,10 @@ function getAssignedCardSortKey(card: Card): number {
4747
return card?.nameValuePairs?.isVirtual ? 1 : 0;
4848
}
4949

50+
/**
51+
* @param card
52+
* @returns boolean
53+
*/
5054
function isExpensifyCard(card?: Card) {
5155
if (!card) {
5256
return false;

0 commit comments

Comments
 (0)