---
title: "DataDetector.Match.SemanticDetails.phoneNumber(_:)"
framework: datadetection
role: symbol
role_heading: Case
path: "datadetection/datadetector/match/semanticdetails/phonenumber(_:)"
---

# DataDetector.Match.SemanticDetails.phoneNumber(_:)

A match that the data detector determines represents a phone number.

## Declaration

```swift
case phoneNumber(DataDetector.Match.SemanticDetails.PhoneNumber)
```

## Parameters

- `PhoneNumber`: A doc://com.apple.datadetection/documentation/DataDetection/DataDetector/Match/SemanticDetails/PhoneNumber structure.
