import { getCurrentLine } from "https://deno.land/x/dxx@rf/src/lib/axe/$deps.ts";
Get the location information about the line that called this method.
If no offset is provided, then continue until the caller of the getCurrentLine
is found.
Examples
Input
Input
console.log(getCurrentLine())
Result
Result
{
"line": "1",
"char": "12",
"method": "Object.<anonymous>",
"file": "/Users/balupton/some-project/calling-file.js"
}
Parameters
optional
offset: Offset