Neutrome SDK reference
    Preparing search index...
    • Reports whether any instruction satisfies a predicate.

      Parameters

      • program: Program

        Program to test.

      • callback: (instruction: Instruction, index: number, program: Program) => boolean

        Predicate applied to each instruction.

      Returns boolean

      true when at least one instruction passes.