Function findValueInSimilarityValue

  • Finds and returns a value from a :simvizTypes/SimilarityValue object using a given attribute name. Supports nested attribute access using dot notation (e.g., "parent.child.value").

    Parameters

    • aSimilarityValue: any

      The :simvizTypes/SimilarityValue object to search within

    • attributeName: string

      The name of the attribute to find, supports dot notation

    Returns number | null

    The numeric value if found, or null if the attribute does not exist