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

# GLKVector4AllEqualToVector4(_:_:)

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

## Declaration

```swift
func GLKVector4AllEqualToVector4(_ vectorLeft: GLKVector4, _ vectorRight: GLKVector4) -> Bool
```

## Parameters

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

## Return Value

Return Value true if all of the vectors’ components are equal , false otherwise.

## See Also

### Comparison Operations

- [GLKVector4AllEqualToScalar(_:_:)](glkit/glkvector4allequaltoscalar(_:_:).md)
- [GLKVector4AllGreaterThanOrEqualToScalar(_:_:)](glkit/glkvector4allgreaterthanorequaltoscalar(_:_:).md)
- [GLKVector4AllGreaterThanOrEqualToVector4(_:_:)](glkit/glkvector4allgreaterthanorequaltovector4(_:_:).md)
- [GLKVector4AllGreaterThanScalar(_:_:)](glkit/glkvector4allgreaterthanscalar(_:_:).md)
- [GLKVector4AllGreaterThanVector4(_:_:)](glkit/glkvector4allgreaterthanvector4(_:_:).md)
