ListIsList

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
<Left> is <Right>
Associationscom.livecode.list
Summary

Determines whether Left and Right are equal or not.

Parameters
NameTypeDescription
Left

An expression which evaluates to a list.

Right

An expression which evaluates to a list.

Example
variable tList as List
put ["a", "b", "c"] into tList
variable tIs as Boolean

put tList is ["A", "b", "c"] into tIs -- tIs is false
put tList is element 1 to -1 of tList into tIs -- tIs is true
Values
NameTypeDescription
return

Returns true if Left is identical to Right.

Description

Two lists are equal if each corresponding element is of comparable type, and if the default equality of that type holds between the elements. In particular, this means that comparison between string elements is case sensitive.

Tagslists