Type alias IsNegative<N>

IsNegative<N>: StringifyPrimitive<N> extends `-${infer U}`
    ? true
    : false

Checks if a given numeric value is in ]-∞,0[

Type Parameters

Returns

true if it is, otherwise false