@wopjs/cast - v0.1.3
    Preparing search index...

    Function toTruthy

    • Returns x if Boolean(x) is true, otherwise returns undefined.

      Type Parameters

      • T

      Parameters

      Returns Exclude<T, Falsy> | undefined