Dart
dart:js_util
hasProperty function
hasProperty
Dart
dart:js_util
hasProperty function
dart:js_util library
Functions
callConstructor
callMethod
getProperty
hasProperty
instanceof
jsify
newObject
promiseToFuture
setProperty
Exceptions
NullRejectionException
description
hasProperty
function
Null safety
bool
hasProperty
(
Object
o
,
Object
name
)
Implementation
bool hasProperty(Object o, Object name) => JS('bool', '# in #', name, o);