---
title: "glIsSampler(_:)"
framework: OpenGL ES
role: symbol
role_heading: Function
platforms: [iOS 7.0+, iPadOS 7.0+, Mac Catalyst 7.0+, tvOS 9.0+]
path: "opengles/glissampler(_:)"
---

# glIsSampler(_:)

## Declaration

```swift
func glIsSampler(_ sampler: GLuint) -> GLboolean
```
