Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 619 Bytes

classify.markdown

File metadata and controls

31 lines (21 loc) · 619 Bytes
layout title categories published alias tags
default
classify
Reference
Functions
classify
true
reference-functions-classify.html
reference
data functions
functions
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()][canonify]