import type { ParsedInstruction } from '../../../../types' ; export const getFirstProgram = ( instructions , name ) : ParsedInstruction | undefined => { return instructions . find ( ( inst ) => inst . program === name ) ; } ;