Skip to main content

Aliases

  • validlevel
  • debug.isvalidlevel
  • debug.validlevel

Arguments

number
required
Stack level number converted to an integer and checked against 0 <= level < the current call stack depth.

Returns

boolean
true when the numeric level is within the current call stack range, otherwise false.

Example

Check whether a numeric stack level is inside the current call stack range.