f:has-dimension

xs:boolean=f:has-dimension( $fact as xbrl:fact, $dimension as xs:QName)

Last updated on 25-05-2023 at 00:00:00.

Returns true if the fact has the specified dimension, either explicitly or through the presence of a dimension default. This function can be used on both OIM Core Dimensions and Taxonomy-defined Dimensions.

OIM 1.0

OIM Status

Exclusive - this function is only available in OIM Mode

Parameters

Name Type Details
fact xbrl:fact The fact to check a dimension for.
dimension xs:QName The name of the dimension to check the presence of. The presence of OIM Core Dimensions can be checked using QNames with a namespace URI of https://xbrl.org/2021. For example, `xbrl:period`.

Output

Type: xs:boolean

Returns true if the fact has the specified dimension. Note that this function does not take into account hypercube validity, and will return "true" if a dimension is defined on a fact even if the dimension is not included in any hypercubes that are associated with fact's concept. Returns false for any dimensions not present on the fact, including those which have a dimension default.

Owners

Name Affiliation Email Start End
Paul Warren XBRL International pdw@xbrl.org 25-05-2023 at 00:00:00