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