Preparing search index...
The search index is not available
@prayas_abhinav/agentjs-core
@prayas_abhinav/agentjs-core
InfluenceRule
Interface InfluenceRule
Property influence rule
interface
InfluenceRule
{
customFunction
?:
(
(
current
,
influences
)
=>
PropertyValue
)
;
influenceType
:
"custom"
|
"average"
|
"majority"
|
"strongest"
;
property
:
string
;
resistance
?:
number
;
}
Index
Properties
custom
Function?
influence
Type
property
resistance?
Properties
Optional
Readonly
custom
Function
custom
Function
?:
(
(
current
,
influences
)
=>
PropertyValue
)
Type declaration
(
current
,
influences
)
:
PropertyValue
Parameters
current
:
PropertyValue
influences
:
{
value
:
PropertyValue
;
weight
:
number
;
}
[]
Returns
PropertyValue
Readonly
influence
Type
influence
Type
:
"custom"
|
"average"
|
"majority"
|
"strongest"
Readonly
property
property
:
string
Optional
Readonly
resistance
resistance
?:
number
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
custom
Function
influence
Type
property
resistance
@prayas_abhinav/agentjs-core
Loading...
Property influence rule