This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

TypeFlagsExtensions.IsValueType

Declaration

public static bool IsValueType(MemoryProfiler.TypeDescription.TypeFlags flags);

Parameters

flags The TypeFlags to compute from (accessible via this).

Returns

bool Returns true if the type associated with this TypeFlags is a value type (as opposed to a reference type).

Description

Returns whether the type describes a value type.