Gst.Memory.prototype.is_type
function is_type(mem_type:String):Boolean {
// Gjs wrapper for gst_memory_is_type()
}Check if mem if allocated with an allocator for mem_type.
Since 1.2
- mem_type
a memory type
- Returns
true if mem was allocated from an allocator for mem_type.