Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (10 sloc) 295 Bytes
* Check if given value is undefined.
* @param value - Value to check.
* @returns True if is undefined, false if not.
export const isUndefined = <ValueType = unknown>(
value: ValueType | undefined
): value is undefined => typeof value === "undefined";
export default isUndefined;
You can’t perform that action at this time.