element-vir - v26.17.2
    Preparing search index...

    Function canHoldProperties

    • Checks if properties can be read off of the input at all.

      This exists instead of check.hasKey because check.hasKey costs roughly a microsecond per call (it runs its attempts through a try/catch), and the predicates below run on every interpolated value of every template on every render.

      Parameters

      • value: unknown

      Returns value is Record<PropertyKey, unknown>