isVoidtsfunction isVoid(x): x is void Returns true if the specified value is undefined. Parameters ParameterTypexunknown Returns x is void Whether variable is undefined.