Member Junction
    Preparing search index...
    • Did CodeGen write the statement that starts on line (1-based)? True when the nearest non-blank line above it is one of CodeGen's statement headers.

      This recognizes CodeGen output pasted without the separator one statement at a time, rather than ending the hand-written section at the first header: older migrations put CodeGen output first and hand-written DDL after it, and that DDL still has to be read.

      Parameters

      • lines: readonly string[]
      • line: number

      Returns boolean