( leadingSymbol: string, trailingSymbol: string, options: SelectOptionsReq<A>, theme: Theme, renderOptions?: RenderOptions | undefined )
| 3319 | Option.getOrElse(Arr.findFirstIndex(state.filtered, (index) => index === state.index), () => 0) |
| 3320 | |
| 3321 | const renderSelectOutput = <A>( |
| 3322 | leadingSymbol: string, |
| 3323 | trailingSymbol: string, |
| 3324 | options: SelectOptionsReq<A>, |
| 3325 | theme: Theme, |
| 3326 | renderOptions?: RenderOptions | undefined |
| 3327 | ): string | undefined => |
| 3328 | options.message === undefined |
| 3329 | ? undefined |
| 3330 | : renderPrompt("", options.message, leadingSymbol, trailingSymbol, theme, renderOptions) |
| 3331 | |
| 3332 | const withSelectHeader = (header: string | undefined, body: string): string => |
| 3333 | header === undefined ? body : header + "\n" + body |
no test coverage detected