menu
Dart
dart:js_util
isTruthy<
T
> function
isTruthy
dark_mode
light_mode
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