intersect function intersect(Object 0, Object 1) A function to get intersection between two sets. Parameters Object 0 - set 1. Object 1 - set 2. Return type Object