Metreeca Keep
    Preparing search index...

    Function hasValueOptions

    • Checks whether a Flake's membership constraints name at least one non-null value.

      Scans the node's own any and all option sets for a value other than null. A null option matches an absent value, so a null-only or empty set reports false. This is the condition under which an any / all constraint implies the constrained value exists (see isRequiredFlake). The test is local to the node.

      Parameters

      • flake: Flake

        The flake to test

      Returns boolean

      true when any or all holds a non-null value; false otherwise