HasIndex


New to Analytica 6.0

HasIndex( x, I )

Return true when «x» is an array with index «I».

You can also use this to test whether «x» has a local index named I by prefacing the index name with a dot.

Examples

HasIndex( Cumulate(Revenue,Time), Time )True
HasIndex( 5, Division ) → False
LocalAlias Col := If HasIndex( x, .Column) Then Handle( x.Column ) Else Handle( x.Col ) Do
x[Col = 'Amount']

See Also

Comments


You are not allowed to post comments.