-
Notifications
You must be signed in to change notification settings - Fork 3
UtilitiesModule
tgreyuk edited this page Apr 25, 2024
·
1 revision
github-wiki-example / UtilitiesModule
This module contains generic utility functions useful for various operations.
Utilities include formatting currencies, manipulating strings, generating identifiers, and validating inputs.
Function | Description |
---|---|
formatCurrency | Formats a number as currency with a given currency code. |
generateUniqueId | Converts a string to title case, making the first character of each word uppercase. |
isValidEmail | Function to check if a value is a valid email address. |
shuffleArray | Function to shuffle an array. |
toTitleCase | Function to convert a string to title case. |
truncateString | Function to truncate a string to a specified length. |