menu
Dart
dart:js_util
isTruthy<
T
> function
isTruthy
brightness_4
brightness_5
description
isTruthy<
T
>
function
bool
isTruthy
<
T
>(
Object
?
o
)
Determines if the given object is truthy or falsy.
Implementation
external bool isTruthy<T>(Object? o);
Dart
dart:js_util
isTruthy<
T
> function
dart:js_util library
Properties
globalThis
objectPrototype
Functions
add
allowInterop
allowInteropCaptureThis
and
callConstructor
callMethod
createDartExport
createStaticInteropMock
dartify
delete
divide
equal
exponentiate
getProperty
greaterThan
greaterThanOrEqual
hasProperty
instanceof
instanceOfString
isJavaScriptArray
isJavaScriptSimpleObject
isTruthy
jsify
lessThan
lessThanOrEqual
modulo
multiply
newObject
not
notEqual
objectGetPrototypeOf
objectKeys
or
promiseToFuture
setProperty
strictEqual
strictNotEqual
subtract
typeofEquals
unsignedRightShift
Exceptions
NullRejectionException
Cookies management controls