File.prototype.hasAttrStr()

Reports whether file has given string attribute defined.

Syntax

file.hasAttrStr(key string) boolean

Parameters

key string

Name of the attribute.

Examples

Basic example.