• Preparing search index...
  • The search index is not available
@arizeai/phoenix-client
  • @arizeai/phoenix-client
  • utils/assertUnreachable
  • assertUnreachable

Function assertUnreachable

  • assertUnreachable(_: never): never

    Utility function that uses the type system to check if a switch statement is exhaustive. If the switch statement is not exhaustive, there will be a type error caught in typescript

    See https://stackoverflow.com/questions/39419170/how-do-i-check-that-a-switch-block-is-exhaustive-in-typescript for more details.

    Parameters

    • _: never

    Returns never

    • Defined in utils/assertUnreachable.ts:7

Settings

Member Visibility
@arizeai/phoenix-client
  • Loading...

Generated using TypeDoc