Gst.Caps.prototype.get_size

function get_size():Number {
    // Gjs wrapper for gst_caps_get_size()
}

Gets the number of structures contained in caps.

Returns

the number of structures that caps contains