jmap-kit
    Preparing search index...

    Type Alias IsNegative<N>

    IsNegative: `${N}` extends `-${string}` ? true : false

    Utility type to check if a number is negative

    Type Parameters

    • N extends number

      The number to check

    true if N is negative, false otherwise