@inComptime
@inComptime
@inComptime() bool
Returns whether the builtin was run in a comptime context. The result is a compile-time constant.
This can be used to provide alternative, comptime-friendly implementations of functions. It should not be used, for instance, to exclude certain functions from being evaluated at comptime.
See also:
- comptime
