---
title: isAliasable()
framework: metal
role: symbol
role_heading: Instance Method
path: metal/mtlresource/isaliasable()
---

# isAliasable()

A Boolean value that indicates whether future heap resource allocations may alias against the resource’s memory.

## Declaration

```swift
func isAliasable() -> Bool
```

## Return Value

Return Value The default value is false. The value is true only if the makeAliasable() method was previously called on this resource.

## See Also

### Managing heap resources

- [heapOffset](metal/mtlresource/heapoffset.md)
- [heap](metal/mtlresource/heap.md)
- [makeAliasable()](metal/mtlresource/makealiasable().md)
