Sniberbβ€’2y ago

πŸŽƒ Spookyberb πŸŽƒ – 11-37 Nov 10

How should I name my validation functions. What is cleaner, checkIfAccountCodeExists(): Promise<boolean> or accountCodeExists(): Promise<boolean>
2 Replies
ScriptyChrisβ€’2y ago
First is IMO better or either of - isAccountCodeExisting - validateAccountCodeExistence
reactibotβ€’2y ago
This thread hasn’t had any activity in 12 hours, so it’s now locked. Threads are closed automatically after 12 hours. If you have a followup question, you may want to reply to this thread so other members know they're related.