In a Tweet earlier today, #WordPress Parent company #Automattic’s Dev Relations advocate shared that they will add examples to the #gutenberg datastore docs.Few examples are as below
getActiveBlockVariation
Returns the active block variation for a given block based on its attributes.
Variations are determined by theirisActive
property.
Which is either an array of block attribute keys or a function.
If you like to read more about #gutenberg and this update specifically, Please check the link here