Return true if the type can have only a single instance.
| 458 | |
| 459 | /// Return true if the type can have only a single instance. |
| 460 | bool isSingleton() const { return mTypeFlags.test( EngineTypeSingleton ); } |
| 461 | |
| 462 | /// Return true if the type is a variadic function type. |
| 463 | bool isVariadic() const { return mTypeFlags.test( EngineTypeVariadic ); } |