Contents

define(className:values:)

Define a class of tokens to be used in template strings.

Declaration

func define(className: String, values: [String])

Parameters

  • className:

    A string which will appear in template strings inside of angle brackets.

  • values:

    The set of values which may be substituted into the template strings.