@technobuddha/library
Version: 
A large library of useful functions
16 lines (15 loc) • 413 B
TypeScript
/**
 * Tests to see if the specified value is negative zero
 * @param input - The number to test
 * @returns true is the number is negative zero
 * @example
 * ```typescript
 * isNegativeZero(-0); // true
 * isNegativeZero(0); // false
 * isNegativeZero(1); // false
 * isNegativeZero(-1); // false
 * ```
 * @group Math
 * @category Comparison
 */
export declare function isNegativeZero(input: number): boolean;