list.indexOf

Hi all,

I am trying to use “list.indexOf” Node but it’s giving me -1 as a result instead of giving Index, can any help me in resolving this problem.

Thanks.

1 Like

@Noman ,

i think you are mixing list consepts…

here are to options:

  • GetItemAtIndex
  • IndexOf

1 Like

-1 means it’s not in the list.

1 Like

@ddrennen2QDK2

with -1 dynamo tells you it is None


image

1 Like