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

    Function isSelection

    • Checks if a value is a Selection.

      Selection entries combine filtering (<, >, <=, >=, ~, ?, !), sort focus and order (+, ^), and pagination (@, #) keys, each mapping to an operator-appropriate scalar or options set.

      Parameters

      • value: unknown

        The value to check

      Returns value is Selection

      True if value is a plain object whose every entry is a valid Selection constraint slot; false otherwise