classify

Prototype: classify(text)

Return type: class

Description: Returns whether the canonicalization of text is a currently set class.

This is useful for transforming variables into classes.

Arguments:

  • text : Input string, in the range .*

Example:

    classes:

     "i_am_the_policy_host" expression => classify("master.example.org");

See also: canonify()