Contents

xpc_dictionary_get_bool(_:_:)

Gets a Boolean primitive value from a dictionary directly.

Declaration

func xpc_dictionary_get_bool(_ xdict: xpc_object_t, _ key: UnsafePointer<CChar>) -> Bool

Parameters

  • xdict:

    The dictionary object which is to be examined.

  • key:

    The key whose value is to be obtained.

Return Value

The underlying bool value for the specified key. false if the the value for the specified key is not a Boolean value or if there is no value for the specified key.

See Also

Dictionary objects