---
title: "build_starts(_:with:)"
framework: foundation
role: symbol
role_heading: Type Method
path: "foundation/predicateexpressions/build_starts(_:with:)"
---

# build_starts(_:with:)

## Declaration

```swift
static func build_starts<Base, Prefix>(_ base: Base, with prefix: Prefix) -> PredicateExpressions.SequenceStartsWith<Base, Prefix> where Base : PredicateExpression, Prefix : PredicateExpression, Base.Output : Sequence, Prefix.Output : Sequence, Base.Output.Element : Equatable, Base.Output.Element == Prefix.Output.Element
```
