---
title: "init(accessAllowed:)"
framework: fskit
role: symbol
role_heading: Initializer
path: "fskit/fscheckaccessresult/init(accessallowed:)"
---

# init(accessAllowed:)

Creates a result for an access-checking operation.

## Declaration

```swift
init?(accessAllowed: Bool)
```

## Parameters

- `accessAllowed`: A Boolean value indicating whether the file system grants the requested access to the item. Pass true (Swift) or YES (Obj-C) to allow access, false (Swift) or NO (Obj-C) to deny access.

## Return Value

Return Value A populated result instance, or nil if validation fails.
