---
title: IsInitProcess
framework: lightweightcoderequirements
role: symbol
role_heading: Structure
path: lightweightcoderequirements/isinitprocess
---

# IsInitProcess

A constraint that tests whether a process is the operating system’s initial process.

## Declaration

```swift
struct IsInitProcess
```

## Topics

### Initializers

- [init()](lightweightcoderequirements/isinitprocess/init().md)
- [init(_:)](lightweightcoderequirements/isinitprocess/init(_:).md)
- [init(from:)](lightweightcoderequirements/isinitprocess/init(from:).md)

### Instance Methods

- [encode(to:)](lightweightcoderequirements/isinitprocess/encode(to:).md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [LaunchConstraint](lightweightcoderequirements/launchconstraint.md)
- [ProcessConstraint](lightweightcoderequirements/processconstraint.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Testing properties of executable code

- [CodeDirectoryHash](lightweightcoderequirements/codedirectoryhash.md)
- [EntitlementsQuery](lightweightcoderequirements/entitlementsquery.md)
- [InfoPlistHash](lightweightcoderequirements/infoplisthash.md)
- [IsMainBinary](lightweightcoderequirements/ismainbinary.md)
- [IsSIPProtected](lightweightcoderequirements/issipprotected.md)
- [PlatformType](lightweightcoderequirements/platformtype.md)
- [SigningIdentifier](lightweightcoderequirements/signingidentifier.md)
- [TeamIdentifier](lightweightcoderequirements/teamidentifier.md)
- [ValidationCategory](lightweightcoderequirements/validationcategory.md)
