CSMath.Extensions.IntExtensions

class · ACadSharp · CLR name: CSMath.Extensions.IntExtensions

No upstream type summary is available.

Base type: System.Object. Inherited members are documented on their declaring type.

import acadsharp
Type = acadsharp.get_type('CSMath.Extensions.IntExtensions')

This type cannot be instantiated directly.

Declared public members

Signatures retain CLR types and names. Python.NET resolves overloads and converts compatible Python values at call time. Property setters are shown only when public. Operators retain their CLR names; Python.NET also maps supported operators to Python syntax.

IsEven

static System.Boolean IsEven(System.Int32 value)

Determines whether the specified integer is even.

Returns: True if the integer is even; otherwise, false.

  • value: The integer to evaluate.

IsNegative

static System.Boolean IsNegative(System.Int32 value)

Determines whether the specified integer is odd.

Returns: True if the integer is odd; otherwise, false.

  • value: The integer to evaluate.

IsOdd

static System.Boolean IsOdd(System.Int32 value)

Determines whether the specified integer is odd.

Returns: True if the integer is odd; otherwise, false.

  • value: The integer to evaluate.