namespace Unity.Burst.CompilerServices
{
///
/// Compile-time queries intrinsics.
///
public static class Constant
{
///
/// Performs a compile-time check on whether the provided argument is known to be constant by Burst.
///
///
/// The value to check whether it is constant.
/// True if Burst knows at compile-time that it is a constant, false otherwise.
public static bool IsConstantExpression(T t) where T : unmanaged => false;
///
/// Performs a compile-time check on whether the provided argument is known to be constant by Burst.
///
/// The value to check whether it is constant.
/// True if Burst knows at compile-time that it is a constant, false otherwise.
public static unsafe bool IsConstantExpression(void* t) => false;
}
}