Also add scalars

This commit is contained in:
Nicolas Williams committed 2014-03-13 00:29:53 -05:00
1 parent 1a1adf73e8
commit 831be04027
1 file changed
+1
+1
View File
@@ -691,6 +691,7 @@ static const char* const jq_builtins[] = {
"def strings: select(type == \"string\");",
"def nulls: select(type == \"null\");",
"def values: arrays, objects, booleans, numbers, strings;",
"def scalars: select(. == null or . == true or . == false or type == \"number\" or type == \"string\");",
};
#undef LIBM_DD