GitHubPixels Website
  • Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • @systemic-games/react-native-pixels-connect
  • getPixelOrThrow

Function getPixelOrThrow

  • getPixelOrThrow(id): Pixel
  • Calls getPixel and throws an error if the Pixel instance cannot be found.

    Parameters

    • id: string | number

      Identify which Pixel to use. It can be either the system id as a string or the Pixel id as a number.

    Returns Pixel

    A Pixel instance.

    • Defined in packages/react-native-pixels-connect/src/getPixel.ts:51

Settings

Member Visibility
GitHubPixels Website
Documentation
  • Loading...

Generated using TypeDoc