Added is_key operator

This commit is contained in:
Mike Farah
2022-09-30 10:27:35 +10:00
parent 3dd5f0c80c
commit 55a7fdfd8a
5 changed files with 90 additions and 0 deletions
+1
View File
@@ -123,6 +123,7 @@ var participleYqRules = []*participleYqRule{
simpleOp("keys", keysOpType),
simpleOp("key", getKeyOpType),
simpleOp("is_?key", isKeyOpType),
simpleOp("file_?name|fileName", getFilenameOpType),
simpleOp("file_?index|fileIndex|fi", getFileIndexOpType),