Memory.isType

bool isType(string memType)

Check if mem if allocated with an allocator for mem_type.

Parameters

memTypea memory type

Returns

true if mem was allocated from an allocator for mem_type.