diff options
Diffstat (limited to 'sh/jshn.sh')
-rw-r--r-- | sh/jshn.sh | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -244,3 +244,10 @@ json_select() { ;; esac } + +json_is_a() { + local type + + json_get_type type "$1" + [ "$type" = "$2" ] +} |
index : delta/openwrt/libubox.git | ||
git.openwrt.org: project/libubox.git |
summaryrefslogtreecommitdiff |
-rw-r--r-- | sh/jshn.sh | 7 |
@@ -244,3 +244,10 @@ json_select() { ;; esac } + +json_is_a() { + local type + + json_get_type type "$1" + [ "$type" = "$2" ] +} |