hasProperty function

bool hasProperty (dynamic o, dynamic name)

Implementation

bool hasProperty(o, name) => JS('bool', '# in #', name, o);