The in operator

A better solution is to check whether the value in data.link is truthy.

Was this page helpful?