@neutrium/math - v2.2.0
    Preparing search index...

    Function isConfigurableAdapter

    • Detect a callable withConfig without inferring its options or returned adapter type. Known signatures are preserved. For an erased adapter type, callers must supply an explicit ConfigurableAdapter contract before configuring it; detection alone cannot establish accepted options or guarantee that a subclass is returned.

      Type Parameters

      Parameters

      • numeric: A

      Returns numeric is A & {
          withConfig: A extends { withConfig?: Method }
              ? Extract<Method, (options: never) => unknown>
              : (options: never) => unknown;
      }