• Preparing search index...
  • The search index is not available
Taquito
  • Taquito
  • @taquito/michel-codec
  • assertMichelsonInstruction

Function assertMichelsonInstruction

  • assertMichelsonInstruction(ex): ex is MichelsonCode
  • Checks if the node is a valid Michelson code (sequence of instructions). This is a type guard function which either returns true of throws an exception.

    Parameters

    • ex: Expr

      An AST node

    Returns ex is MichelsonCode

    • Defined in packages/taquito-michel-codec/src/michelson-validator.ts:258

Settings

Member Visibility
Taquito
  • Loading...

Generated using TypeDoc