Prototype: classify(text)

Return type: boolean

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

This is useful for transforming variables into classes.

Arguments:

  • text: string - Input string - in the range: .*

Example:

code
classes:

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

See also: canonify(), classmatch(), classesmatching()