aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions.d/inspectvar
AgeCommit message (Collapse)AuthorFilesLines
2021-11-15shorten modules directory name (global-functions.d -> mod)change-67Gravatar Christian Hesse1-40/+0
2021-09-21global-functions.d/inspectvar: add $InspectVar...change-64Gravatar Christian Hesse1-0/+40
to inspect variables. This is useful for variables with (nested) arrays, for example inspecting $NetwatchNotify (from netwatch-notify): [admin@Mikrotik] > $InspectVar $NetwatchNotify -type-> array -key-> quad-one -type-> array -key-> count -type-> num -value-> 0 -key-> notified -type-> bool -value-> false -key-> parent -type-> nothing -key-> resolve-failed -type-> nothing -key-> since -type-> nothing -key-> example.com -type-> array -key-> count -type-> num -value-> 0 -key-> notified -type-> bool -value-> false -key-> parent -type-> str -value-> quad-one -key-> resolve-failed -type-> nothing -key-> since -type-> nothing