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

    Function toNonEmptyString

    • Returns x if x is a string and not empty, otherwise returns undefined.

      Parameters

      • x: unknown

      Returns string | undefined