• Utility function for custom functions. Cast a value as a string, unwrapping objects using their valueOf() methods. Throws a RangeError for invalid inputs.

    Parameters

    • value: unknown

    Returns string