# Make \`std.meta.trait.isContainer\` true for opaques · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/83a4bb6e6957325b744a08e16cab6b2a4a045f3e)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 83a4bb6e6957325b744a08e16cab6b2a4a045f3e

Requested commit: 83a4bb6e6957325b744a08e16cab6b2a4a045f3e

Commit: 83a4bb6e6957325b744a08e16cab6b2a4a045f3e

Tree: 8c1fa68583c19c11ed2bf2e986364524f95c5e13

Author: InKryption

Committer: Veikka Tuominen

## Message

```
Make `std.meta.trait.isContainer` true for opaques

Makes `std.meta.trait.hasFn` work as expected for opaque types with function declarations. Alternative is to add clause directly to `std.meta.trait.hasFn` to account for opaque types.
```

## Parents

- [eeb8629bea90b931a65559886c272fe7aad9211d](https://git.cafe/gitcafe/zig/commit/eeb8629bea90b931a65559886c272fe7aad9211d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/83a4bb6e6957325b744a08e16cab6b2a4a045f3e?format=markdown)
