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

# GLKVector2AllGreaterThanVector2(_:_:)

Returns a Boolean value that indicates whether each component of the first vector is greater than the corresponding component of a second vector.

## Declaration

```swift
func GLKVector2AllGreaterThanVector2(_ vectorLeft: GLKVector2, _ vectorRight: GLKVector2) -> Bool
```

## Parameters

- `vectorLeft`: The first vector.
- `vectorRight`: The second vector.

## Return Value

Return Value true if each component in the first vector is greater than the corresponding component of the second vector, false otherwise.

## See Also

### Comparison Operations

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