* Extracts the hours and minutes from a string like "15:45"
(time: string)
| 742 | * Extracts the hours and minutes from a string like "15:45" |
| 743 | */ |
| 744 | function extractTime(time: string): Time { |
| 745 | const [h, m] = time.split(':'); |
| 746 | return {hours: +h, minutes: +m}; |
| 747 | } |
| 748 | |
| 749 | /** |
| 750 | * Retrieves the currency symbol for a given currency code. |
no outgoing calls
no test coverage detected
searching dependent graphs…