@metreeca/qest - v0.12.0
    Preparing search index...

    Function isSelector

    • Checks if a value is a Criteria constraint key.

      Classifies a key without looking at its value, which is what splitting a node into its retrieval and constraint halves takes; isCriterion holds the whole entry to its operator's contract instead.

      Parameters

      • value: unknown

        The value to check

      Returns value is keyof Criteria

      True if value is a string composed of a Criteria operator prefix (<, >, <=, >=, ~, ?, !, +, ^) followed by a valid Expression, or exactly "@" or "#"; false otherwise