DekGenius.com
Team LiB   Previous Section   Next Section
is contained by

Syntax

"html" is contained by "index.html" -- returns true

Synonyms

is in

Return value

boolean; true or false

Description

This operator can take lists, records, or strings as operands. If the left-hand operand is not of the same class as the second operand, then AppleScript will attempt to coerce the first operand to the second operand's class before evaluating the expression. You cannot use this operator alone to find out if a file is contained by a disk or folder (see the discussion of contains) because the folder, file, and disk classes are not lists, records, or strings.

    Team LiB   Previous Section   Next Section