SByte.IsNegative(SByte) Method (System) (original) (raw)

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Determines if a value is negative.

public:
 static bool IsNegative(System::SByte value) = System::Numerics::INumberBase<System::SByte>::IsNegative;
public static bool IsNegative(sbyte value);
static member IsNegative : sbyte -> bool
Public Shared Function IsNegative (value As SByte) As Boolean

Parameters

value

SByte

The value to be checked.

Returns

true if value is negative; otherwise, false.

Implements

Remarks

A return value of false does not imply that IsPositive(TSelf) will return true. A complex number, a + bi for non-zero b, is not positive or negative

Applies to


Feedback

Was this page helpful?

No

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?