This version of Unity is unsupported.

UnsafeUtility.IsValidAllocator

Declaration

public static bool IsValidAllocator(Unity.Collections.Allocator allocator);

Description

Returns true if the allocator label is valid and can be used to allocate or deallocate memory.