truthy function

bool truthy(
  1. dynamic arg
)

Converts a lisp value to a Dart boolean.

Implementation

bool truthy(dynamic arg) => arg != false && arg != null;