Contents

attachedMode(of:)

Returns mode of an attached key without retriving value.

Declaration

func attachedMode(of key: String) -> CVAttachmentMode?

Discussion

This function can be used to check for the presence of a specific key without converting it’s value. Returns nil if the key is not attached.