Function getBlockPermutation
getBlockPermutation( blockName: string, states?: Record<string, string | number | boolean>,): BlockPermutation Parameters
- blockName: string
Optional
states: Record<string, string | number | boolean>
Returns BlockPermutation
The block permutation.
Returns a block permutation from the cache or gets it from the API and caches it.