NSNumber.FromBoolean(Boolean) Method

Definition

Factory method that creates a number from a bool.

[Foundation.Export("numberWithBool:")]
public static Foundation.NSNumber FromBoolean (bool value);
static member FromBoolean : bool -> Foundation.NSNumber

Parameters

value
Boolean

Returns

Attributes

Applies to