Memory.isType

Check if @mem if allocated with an allocator for @mem_type.

class Memory
bool
isType
(
string memType
)

Parameters

memType string

a memory type

Return: %TRUE if @mem was allocated from an allocator for @mem_type.

Meta