Skip to content

Instantly share code, notes, and snippets.

@srenatus
Created December 19, 2025 07:26
Show Gist options
  • Select an option

  • Save srenatus/4ebe4a53646de71000725c0023d31a4a to your computer and use it in GitHub Desktop.

Select an option

Save srenatus/4ebe4a53646de71000725c0023d31a4a to your computer and use it in GitHub Desktop.
builtin cases
!= 17
% 15
& 8
* 2032
+ 85
- 240
/ 218
:= 1404
< 39
<= 2
= 2031
== 381
> 66
>= 3
abs 3
all 2
and 7
any 2
array.concat 4
array.reverse 5
array.slice 8
assign 0
base64.decode 4
base64.encode 3
base64.is_valid 2
base64url.decode 2
base64url.encode 2
base64url.encode_no_pad 5
bits.and 3
bits.lsh 5
bits.negate 2
bits.or 3
bits.rsh 3
bits.xor 3
cast_array 0
cast_boolean 0
cast_null 0
cast_object 0
cast_set 0
cast_string 0
ceil 5
concat 11
contains 383
count 44
crypto.hmac.equal 5
crypto.hmac.md5 2
crypto.hmac.sha1 2
crypto.hmac.sha256 2
crypto.hmac.sha512 2
crypto.md5 1
crypto.parse_private_keys 3
crypto.sha1 1
crypto.sha256 1
crypto.x509.parse_and_verify_certificates 2
crypto.x509.parse_and_verify_certificates_with_options 0
crypto.x509.parse_certificate_request 5
crypto.x509.parse_certificates 10
crypto.x509.parse_keypair 2
crypto.x509.parse_rsa_private_key 2
div 0
endswith 2
eq 0
equal 6
floor 6
format_int 9
glob.match 31
glob.quote_meta 1
graph.reachable 7
graph.reachable_paths 12
graphql.is_valid 8
graphql.parse 6
graphql.parse_and_verify 6
graphql.parse_query 35
graphql.parse_schema 49
graphql.schema_is_valid 48
gt 1
gte 0
hex.decode 2
hex.encode 1
http.send 4
in 124
indexof 8
indexof_n 5
internal.member_2 0
internal.member_3 0
internal.print 0
internal.template_string 0
internal.test_case 0
intersection 5
io.jwt.decode 12
io.jwt.decode_verify 48
io.jwt.encode_sign 9
io.jwt.encode_sign_raw 14
io.jwt.verify_eddsa 1
io.jwt.verify_es256 2
io.jwt.verify_es384 4
io.jwt.verify_es512 4
io.jwt.verify_hs256 3
io.jwt.verify_hs384 3
io.jwt.verify_hs512 3
io.jwt.verify_ps256 4
io.jwt.verify_ps384 4
io.jwt.verify_ps512 4
io.jwt.verify_rs256 9
io.jwt.verify_rs384 4
io.jwt.verify_rs512 4
is_array 2
is_boolean 4
is_null 2
is_number 4
is_object 2
is_set 2
is_string 5
json.filter 12
json.is_valid 2
json.marshal 3
json.marshal_with_options 9
json.match_schema 5
json.patch 7
json.remove 26
json.unmarshal 2
json.verify_schema 4
lower 2
lt 1
lte 0
max 6
min 7
minus 0
mul 0
neq 0
net.cidr_contains 12
net.cidr_contains_matches 9
net.cidr_expand 4
net.cidr_intersects 6
net.cidr_is_valid 5
net.cidr_merge 22
net.cidr_overlap 0
net.lookup_ip_addr 3
numbers.range 17
numbers.range_step 7
object.filter 20
object.get 17
object.keys 7
object.remove 21
object.subset 16
object.union 13
object.union_n 11
opa.runtime 1
or 4
plus 0
print 0
product 2
providers.aws.sign_req 18
rand.intn 1
re_match 0
regex.find_all_string_submatch_n 8
regex.find_n 3
regex.globs_match 6
regex.is_valid 3
regex.match 1
regex.replace 3
regex.split 3
regex.template_match 2
rego.metadata.chain 3
rego.metadata.rule 2
rego.parse_module 2
rem 0
replace 8
round 2
semver.compare 5
semver.is_valid 3
set_diff 0
sort 5
split 32
sprintf 12
startswith 8
strings.any_prefix_match 24
strings.any_suffix_match 24
strings.count 3
strings.render_template 4
strings.replace_n 7
strings.reverse 6
substring 12
sum 7
time.add_date 4
time.clock 4
time.date 5
time.diff 1
time.format 2
time.now_ns 18
time.parse_duration_ns 1
time.parse_ns 4
time.parse_rfc3339_ns 3
time.weekday 8
to_number 19
trace 0
trim 30
trim_left 2
trim_prefix 2
trim_right 2
trim_space 2
trim_suffix 2
type_name 7
union 36
units.parse 69
units.parse_bytes 66
upper 2
urlquery.decode 1
urlquery.decode_object 3
urlquery.encode 2
urlquery.encode_object 5
uuid.parse 8
uuid.rfc4122 1
walk 12
yaml.is_valid 2
yaml.marshal 1
yaml.unmarshal 2
| 2032
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment