settledLevel
settledLevel(
program,options?):number
Defined in: packages/runtime/src/settle.ts:974
settledRender’s level as a bare number, throwing rather than returning one it cannot stand
behind. The one-line form for a scratch probe: const rms = settledLevel(program).
Throwing is the point. A scratch script that ignores a return code still reports a number; one that throws stops, which is the loud failure the three-outcome rule asks for.
Parameters
Section titled “Parameters”program
Section titled “program”options?
Section titled “options?”SettledRenderOptions = {}
Returns
Section titled “Returns”number