Function isRelationTypeReversed

  • Checks if the given relation type is reversed.

    A reversed relation means the relation is considered from the object entity point of view. The reverse indicator is a prefix added as a convention in CubicWeb.

    Parameters

    • relationType: string

      The relation type to check

    Returns boolean

    True if the relation type starts with the reverse indicator

Generated using TypeDoc