getColumnNumber():
null
|number
Current column number [if this function was defined in a script]
null
| number
node_modules/@types/node/globals.d.ts:266
getEnclosingColumnNumber():
number
number
node_modules/@types/node/globals.d.ts:314
getEnclosingLineNumber():
number
number
node_modules/@types/node/globals.d.ts:315
getEvalOrigin():
undefined
|string
A call site object representing the location where eval was called [if this function was created using a call to eval]
undefined
| string
node_modules/@types/node/globals.d.ts:272
getFileName():
undefined
|string
Name of the script [if this function was defined in a script]
undefined
| string
node_modules/@types/node/globals.d.ts:256
getFunction():
undefined
|Function
Current function
undefined
| Function
node_modules/@types/node/globals.d.ts:238
getFunctionName():
null
|string
Name of the current function, typically its name property. If a name property is not available an attempt will be made to try to infer a name from the function’s context.
null
| string
node_modules/@types/node/globals.d.ts:245
getLineNumber():
null
|number
Current line number [if this function was defined in a script]
null
| number
node_modules/@types/node/globals.d.ts:261
getMethodName():
null
|string
Name of the property [of “this” or one of its prototypes] that holds the current function
null
| string
node_modules/@types/node/globals.d.ts:251
getPosition():
number
number
node_modules/@types/node/globals.d.ts:316
getPromiseIndex():
null
|number
returns the index of the promise element that was followed in Promise.all() or Promise.any() for async stack traces, or null if the CallSite is not an async
null
| number
node_modules/@types/node/globals.d.ts:309
getScriptHash():
string
string
node_modules/@types/node/globals.d.ts:312
getScriptNameOrSourceURL():
string
string
node_modules/@types/node/globals.d.ts:311
getThis():
unknown
Value of “this”
unknown
node_modules/@types/node/globals.d.ts:225
getTypeName():
null
|string
Type of “this” as a string. This is the name of the function stored in the constructor field of “this”, if available. Otherwise the object’s [[Class]] internal property.
null
| string
node_modules/@types/node/globals.d.ts:233
isAsync():
boolean
is this an async call (i.e. await, Promise.all(), or Promise.any())?
boolean
node_modules/@types/node/globals.d.ts:297
isConstructor():
boolean
Is this a constructor call?
boolean
node_modules/@types/node/globals.d.ts:292
isEval():
boolean
Does this call take place in code defined by a call to eval?
boolean
node_modules/@types/node/globals.d.ts:282
isNative():
boolean
Is this call in native V8 code?
boolean
node_modules/@types/node/globals.d.ts:287
isPromiseAll():
boolean
is this an async call to Promise.all()?
boolean
node_modules/@types/node/globals.d.ts:302
isToplevel():
boolean
Is this a toplevel invocation, that is, is “this” the global object?
boolean
node_modules/@types/node/globals.d.ts:277
toString():
string
string
node_modules/@types/node/globals.d.ts:318