hasProperty function

bool hasProperty (
  1. dynamic o,
  2. dynamic name
)

Implementation

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