@worktif/purei
Version:
Work TIF Material UI Theme Provider and Customization Suite for React applications with dark mode support and dynamic color schemes
9 lines (8 loc) • 388 B
TypeScript
import { Maybe } from '../types';
/**
* Generates a hash code for the given string. If the string is null or undefined, it defaults to a predefined value.
*
* @param {Maybe<string>} str - The input string to generate the hash code for. Can be null or undefined.
* @return {string} The generated hash code as a string.
*/
export declare function hashCode(str: Maybe<string>): string;