Contents

label(for:)

Retrieves the label for the given term.

Declaration

func label(for string: String) -> String?

Parameters

  • string:

    The term used to find a label.

Return Value

A string if the term is in the vocabulary; otherwise nil.