rx-datatable API
    Preparing search index...

    Function useStatefulObjectIfNotGivenBy

    • Returns an override if provided and useState(initialState)[0] otherwise. Typically initialState would be, or return, a collection type such as a Set.

      Type Parameters

      • S

      Parameters

      • override: nully | S
      • initialState: S | (() => S)

      Returns S

    • Returns an override if provided and useState(initialState)[0] otherwise. Typically initialState would be, or return, a collection type such as a Set.

      Type Parameters

      • S

      Parameters

      Returns S | undefined