colour.utilities.is_sibling#
- colour.utilities.is_sibling(element: Any, mapping: collections.abc.Mapping) bool [source]#
Return whether given element type is present in given mapping types.
- Parameters
element (Any) – Element to check whether its type is present in the mapping types.
mapping (collections.abc.Mapping) – Mapping types.
- Returns
Whether given element type is present in given mapping types.
- Return type