---
title: "xpc_bool_get_value(_:)"
framework: xpc
role: symbol
role_heading: Function
path: "xpc/xpc_bool_get_value(_:)"
---

# xpc_bool_get_value(_:)

Returns the underlying Boolean value from the object.

## Declaration

```swift
func xpc_bool_get_value(_ xbool: xpc_object_t) -> Bool
```

## Parameters

- `xbool`: The Boolean object which is to be examined.

## Return Value

Return Value The underlying Boolean value.

## See Also

### Boolean objects

- [xpc_bool_create(_:)](xpc/xpc_bool_create(_:).md)
- [XPC_BOOL_TRUE](xpc/xpc_bool_true-swift.var.md)
- [XPC_BOOL_FALSE](xpc/xpc_bool_false-swift.var.md)
