is-one-thousand-nine-hundred-and-ninety-nine
Version:
Check if a number is equal to one thousand nine hundred and ninety-nine
11 lines (10 loc) • 342 B
text/typescript
/**
* Check if a number is equal to one thousand nine hundred and ninety-nine
* @param number - The number to check
* @returns True if the number is equal to one thousand nine hundred and ninety-nine, false otherwise
*/
export const isOneThousandNineHundredAndNinetyNine = (
number: number,
): boolean => {
return number === 1999;
};