Closed mormat closed 1 year ago
The operator in checks if a value is embedded into another value It should look like this
in
first_value in second_value
If the second value is a string, it checks this string contains a substring Example
'and' in 'War and Peace'
If the second value is an array, it checks this array contains a specific item Example
2 in [1, 2, 3]
The operator
in
checks if a value is embedded into another value It should look like thisIf the second value is a string, it checks this string contains a substring Example
If the second value is an array, it checks this array contains a specific item Example