formatsContains

fnbool formatsContains(gst.types.Format[] formats, gst.types.Format format)

See if the given format is inside the format array.

Parameters

formatsThe format array to search
formatthe format to find

Returns

true if the format is found inside the array