Contents

CFMachPortIsValid(_:)

Returns a Boolean value that indicates whether a CFMachPort object is valid and able to receive messages.

Declaration

func CFMachPortIsValid(_ port: CFMachPort!) -> Bool

Parameters

  • port:

    The CFMachPort object to examine.

Return Value

true if port can be used for communication, otherwise false.

See Also

Examining a CFMachPort Object