---
title: "isinf(_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/isinf(_:)-9bb5h"
---

# isinf(_:)

Returns true for each element that is infinite in a vector.

## Declaration

```swift
func isinf(_ x: simd_float2) -> simd_int2
```

## See Also

### Classification Functions

- [isfinite(_:)](simd/isfinite(_:)-zthr.md)
- [isnan(_:)](simd/isnan(_:)-7diw7.md)
- [isnormal(_:)](simd/isnormal(_:)-3n6dc.md)
