Contains (value, search)
Checks if a list contains any value from a list
Contains("Dog", "Cat", "Mouse")
⟶ False
Contains("Dog", "Cat", "Mouse", "Dog")
⟶ True
List("Dog", "Giraffe").Contains("Cat", "Mouse", "Dog")
⟶ True
INPUTS
value – A value or list of values to search in
search… – A value or list of values to search for
OUTPUT
Outputs True if any value in search exists in value.
ContainsAll (value, search)
Checks if a list contains all values from a list
ContainsAll("Dog", "Cat", "Mouse")
⟶ False
ContainsAll(List("Cat", "Rabbit"), "Cat", "Mouse")
⟶ False
List("Cat", "Mouse", "Rabbit").ContainsAll(List("Cat", "Mouse"))
⟶ True
INPUTS
value – A value or list of values to search in
search… – A value or list of values to search for
OUTPUT
Outputs True if all values in search exists in value.
ContainsOnly (value, search)
Checks if a list contains only values from a list
ContainsOnly("Dog", List("Dog", "Mouse"))
⟶ False
List("Dog", "Mouse", "Cat").ContainsOnly("Cat", "Mouse")
⟶ False
List("Dog", "Mouse").ContainsOnly("Mouse", "Dog")
⟶ True
ContainsOnly(List("Dog", "Dog"), "Dog")
⟶ True
INPUTS
value – A value or list of values to search in
search… – A value or list of values to search for
OUTPUT
Outputs True if only values in search exist in value.