Einhugur macOS Bridge plugin. |

# EinhugurCoreBridge.NSNumber Class

An object wrapper for NSNumber Cocoa class which is for primitive scalar numeric values.

EinhugurCoreBridge.NSObject
NSNumber

class EinhugurCoreBridge.NSNumber implements

EinhugurCoreBridge.INSCopying

#### Constructors

NSNumber (private) | This constructor is private, use the From methods to construct instance of this class, like FromBoolean, FromDouble, etc.

#### Properties

BooleanValue | Returns Boolean value from the NSNumber.
ClassName (Inherited) (desktop - console) | Returns the name of the Cocoa class under the hood as String.
DoubleValue | Returns Double value from the NSNumber.
Handle (Inherited) | Returns Integer handle to the native NSObject structure.
IntegerValue | Returns Integer value from the NSNumber.
SingleValue | Returns Single value from the NSNumber.

#### Methods

shared Cast | Does deep cast on incoming NSObject to NSNumber
Equal | Returns true if the number is equal to the one passed in.
shared FromBoolean | Constructs NSNumber from Boolean.
shared FromDouble | Constructs NSNumber from Double.
shared FromInteger | Constructs NSNumber from Integer.
shared FromIntegerPtr | Constructs NSNumber object from Integer handle coming from declares or 3rd party plugin.
shared FromSingle | Constructs NSNumber from Single.
shared IsNSNumber | Returns true if the NSObject under the hood is NSNumber or derived from NSNumber.
Release (Inherited) | Releases the NSObject.
Retain (Inherited) | Retains the NSObject

#### Constants

Version = 5.0 (Inherited) |

#### Supported Platforms:

- macOS Intel 64 bit
- macOS Apple Silicon
- iOS

#### Unsupported Platforms:

- Windows 32 bit
- Windows 64 bit
- Windows ARM 64 bit
- Linux 32 bit
- Linux 64 bit
- Linux ARM 32 bit
- Linux ARM 64 bit