Contents

field(forKey:)

Returns the field for a specified key.

Declaration

func field(forKey key: ArchiveHeader.FieldKey) -> ArchiveHeader.Field?

Parameters

  • key:

    The key that the function looks up in the header.

Return Value

The field that matches the specified key, or nil if the key was not found.

See Also

Manipulating Fields