import { IterationOf } from '../Iteration/IterationOf'; import { Iteration, IterationMap } from '../Iteration/Iteration'; /** * @hidden */ export declare type _Negate = IterationMap[N[4]]; /** * Negate a [[Number]] * @param N to negate * @returns `string | number | boolean` * @example * ```ts * import {N} from 'ts-toolbelt' * * type test0 = N.Negate<'-10'> // '10' * type test1 = N.Negate<'10'> // '-10' * type test2 = N.Negate<'10', 's'> // '-10' * type test3 = N.Negate<'10', 'n'> // -10 * type test4 = N.Negate<'-100'> // string * ``` */ export declare type Negate = N extends unknown ? _Negate>[0] : never;