@cubedelement.com/realty-investor-timeline
@cubedelement.com/realty-investor-timeline / investments/reason-to-rule / ReasonToRule
Defined in: investments/reason-to-rule.ts:39
• T extends IRentalPropertyEntity
• TR extends PurchaseRuleTypes | HoldRuleTypes
IReasonToRule<T, TR>new ReasonToRule<
T,TR>(investmentReason,propertyType,propertyKey,value,ruleType?,overrideUserResultEstimates?):ReasonToRule<T,TR>
Defined in: investments/reason-to-rule.ts:44
keyof T & string
number[]
TR
ReasonToRule<T, TR>
investmentReason:
InvestmentReasons
Defined in: investments/reason-to-rule.ts:84
IReasonToRule.investmentReason
propertyKey: keyof
T&string
Defined in: investments/reason-to-rule.ts:129
propertyType:
PropertyType
Defined in: investments/reason-to-rule.ts:130
ruleType:
TR
Defined in: investments/reason-to-rule.ts:131
values:
number[]
Defined in: investments/reason-to-rule.ts:132
getValueAtIndex(
index):number
Defined in: investments/reason-to-rule.ts:98
number
number
isRuleAndPropertyTypeMatch(
propertyType,ruleType):boolean
Defined in: investments/reason-to-rule.ts:86
TR
boolean
IReasonToRule.isRuleAndPropertyTypeMatch
isRuleMatch(
ruleType):boolean
Defined in: investments/reason-to-rule.ts:90
TR
boolean
isRuleNone():
boolean
Defined in: investments/reason-to-rule.ts:94
boolean
isValueGreater<
T2>(rule):boolean
Defined in: investments/reason-to-rule.ts:60
• T2 extends IRentalPropertyEntity
IReasonToRule<T2, TR>
boolean
userResultEstimates(
rental,holdRules,purchaseRules,date):UserInvestResult[]
Defined in: investments/reason-to-rule.ts:106
IRuleEvaluation<HoldRuleTypes>[]
IRuleEvaluation<PurchaseRuleTypes>[]
Date