function isColorSchemeValid(colorScheme) {
	const isString = (input) => typeof input === "string";
	const isAvailable = (input) => Object.keys(colorSchemes).includes(input);

	return isString(colorScheme) && isAvailable(colorScheme);
}
// check if the color scheme is valid or not
check if the color scheme is valid or not
check if the color scheme is valid or not
function isColorSchemeValid(colorScheme) {
	const isString = (input) => typeof input === "string";
	const isAvailable = (input) => Object.keys(colorSchemes).includes(input);
	return isString(colorScheme) && isAvailable(colorScheme);
}
function isColorSchemeValid ( colorScheme ) { const isString = ( input ) => typeof input === "string" ; const isAvailable = ( input ) => Object . keys ( colorSchemes ) . includes ( input ) ; return isString ( colorScheme ) && isAvailable ( colorScheme ) ; }
check if the color scheme is valid or not
check if the color scheme is valid or not