xbrl.formula.FactVariable

An xbrl.formula.FactVariable class represents a <variable:factVariable> resource in the formula network.

Base class: xbrl.formula.Variable

class xbrl.formula.FactVariable

Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a NotImplementedError exception.

Attributes

xbrl.formula.FactVariable.bind_as_sequence

Returns the inferred value of the ‘bindAsSequence’ attribute as bool.

xbrl.formula.FactVariable.fallback_value

Returns an xbrl.XPathExpression object representing the XPath expression in the ‘fallbackValue’ attribute, or None if the ‘fallbackValue’ attribute is absent.

xbrl.formula.FactVariable.filter_relationships

Returns an iterator of xbrl.formula.VariableFilterRelationship objects which represent the variable-filter relationships from this <variable:factVariable> resource.

xbrl.formula.FactVariable.matches

Returns the inferred value of the ‘matches’ attribute as bool.

xbrl.formula.FactVariable.nils

Returns the inferred value of the ‘nils’ attribute as bool.

Methods

Special methods

__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__