WARNING: The [sjs-3] engine was deprecated, use [sjs-4] instead.

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.