# isRawGtx · FT4 TypeScript client · Chromia Docs (concept)

> isRawGtx(tx: RawGtx | GTX): tx is RawGtx Type assertion to determine if the provided value is a regular GTX or a RawGtx Parameters tx: RawGtx | GTX the tx 

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/utils.isRawGtx/

Function

# isRawGtx

* ```signature
  isRawGtx(tx: RawGtx | GTX): tx is RawGtx
  ```

  Type assertion to determine if the provided value is a regular `GTX` or a `RawGtx`

  #### Parameters

  + tx: RawGtx | GTX

    the tx value to assert

  #### Returns tx is RawGtx

  true if provided value is a raw gtx

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/functions/utils.isRawGtx.html)Generated API reference, mirrored from the live docs
