matchingRule
Function in @bimworks/viewercommon.
API catalogue · @bimworks/viewercommon · Function
TypeScript#
function matchingRuleMembers#
| Member | Kind | Description |
|---|---|---|
| matchingRule | Method | The first rule of the list that fits the facts, or null |
matchingRule#
TypeScript#
matchingRule(rules: (Viewer3dEngineRule)[] | null | undefined, facts: Viewer3dPlatformFacts): Viewer3dEngineRule | nullThe first rule of the list that fits the facts, or null
Parameters#
| Name | Type | Description |
|---|---|---|
rules |
(Viewer3dEngineRule)[] | null | undefined |
|
facts |
Viewer3dPlatformFacts |