/** * Check if the string is Whitelisted * * @param str - The string to check * @param chars - Options object * @returns True if the string matches the validation, false otherwise */ export default function isWhitelisted(str: string, chars: string[]): boolean;