---
title: "GLKVector2AllGreaterThanScalar(_:_:)"
framework: GLKit
role: symbol
role_heading: Function
platforms: [iOS 5.0+, iPadOS 5.0+, macOS 10.8+, tvOS 9.0+]
path: "glkit/glkvector2allgreaterthanscalar(_:_:)"
---

# GLKVector2AllGreaterThanScalar(_:_:)

Returns a Boolean value that states whether all the components of the source vector are greater than a scalar value.

## Declaration

```swift
func GLKVector2AllGreaterThanScalar(_ vector: GLKVector2, _ value: Float) -> Bool
```

## Parameters

- `vector`: A vector.
- `value`: A scalar.

## Return Value

Return Value true if all of the vector’s components are greater than the scalar value, false otherwise.

## See Also

### Comparison Operations

- [GLKVector2AllEqualToScalar(_:_:)](glkit/glkvector2allequaltoscalar(_:_:).md)
- [GLKVector2AllEqualToVector2(_:_:)](glkit/glkvector2allequaltovector2(_:_:).md)
- [GLKVector2AllGreaterThanOrEqualToScalar(_:_:)](glkit/glkvector2allgreaterthanorequaltoscalar(_:_:).md)
- [GLKVector2AllGreaterThanOrEqualToVector2(_:_:)](glkit/glkvector2allgreaterthanorequaltovector2(_:_:).md)
- [GLKVector2AllGreaterThanVector2(_:_:)](glkit/glkvector2allgreaterthanvector2(_:_:).md)
