Function asString

Returns x if x is a string, otherwise returns '' (empty string).

  • Parameters

    • x: unknown

    Returns string