Contents

init(boolean:)

Creates a descriptor initialized with type typeBoolean that stores the specified Boolean value.

Declaration

init(boolean: Bool)

Parameters

  • boolean:

    The Boolean value to be set in the returned descriptor.

Return Value

A descriptor with the specified Boolean value, or nil if an error occurs.

See Also

Creating and Initializing Descriptors