Skip to contents

Check whether a content item has a thumbnail.

Usage

has_thumbnail(content)

Arguments

content

A content item.

Value

TRUE if the content item has a thumbnail, otherwise FALSE. Throws an error if you do not have permission to view the thumbnail.

Examples

if (FALSE) { # \dontrun{
client <- connect()
item <- content_item(client, "8f37d6e0-3395-4a2c-aa6a-d7f2fe1babd0")
has_thumbnail(item)
} # }