beta.xbrl.xule.Fact

A beta.xbrl.xule.Fact class represents a fact value in the XULE type system.

Base class: beta.xbrl.xule.Value

class beta.xbrl.xule.Fact(Fact value)

Constructs a new beta.xbrl.xule.Fact value object from an xbrl.Fact argument.

Attributes

beta.xbrl.xule.Value.location

Returns a beta.xbrl.xule.Location object that represents the underlying source XBRL fact, concept, relationship, … of this XULE value.

beta.xbrl.xule.Fact.value

Returns a xbrl.Fact object that represents the underlying XULE value.

Methods

beta.xbrl.xule.Value.property(name)

Returns the given property as a beta.xbrl.xule.Value object.

Special methods

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