SByte.IsPositive(SByte) Metod

Definition

Avgör om ett värde är positivt.

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

Parametrar

value
SByte

Det värde som ska kontrolleras.

Returer

true om value är positiv, annars false.

Implementeringar

Kommentarer

Ett returvärde för false innebär inte att returnera IsNegative(TSelf)true. Ett komplext tal, a + bi för icke-noll b, är inte positivt eller negativt

Gäller för