Skip to content

Operators

In addition to its native capabilities, the punch language provides many additional operators whose associated javadoc is available here. These operators let you perform complex transformations in just one or a few line of codes. Here is an example:

    if (cidrmatch("10.10.1.32/27").on("10.10.1.44").check()) {
        // "10.10.1.44" belongs to "10.10.1.32/27"
        ...
    }

Here is the complete operator list: