Control:Contains

Last updated 5 August 2026

Control:Contains checks if a Pack or String contains a selected element.

Pin Info

Input 1: Pack [Pack]

Input 1: String [String]

Input 2: Candidate [Float, Int, ResourceId, String, Timestamp]

1-Pack[Pack]: Checks this Pack for the stored candidate*.

1-String[String]: Checks this String for the stored candidate*.

2-Candidate[Float]: Stores this Float as candidate in the Patch.

2-Candidate[Int]: Stores this Integer as candidate in the Patch.

2-Candidate[RID]: Stores this ResourceId as candidate in the Patch.

2-Candidate[String]: Stores this String as candidate in the Patch.

2-Candidate[Timestamp]: Stores this Timestamp as candidate in the Patch.

Output 1: Has [Int]

Output 2: Amount [Int]

1-Has[Int]: Emits 1 (True) if the Cadidate is found in the Pack or the String and 0 if not.

2-Amount[Int]: Emits how often the Candidate is found within the Pack or the String.

Node Parameters

Candidate: Shows the currently stored candidate that will be looked for in the input Pack or String.