export function isNull(data: Type | null, returnValue: Type): Type { return data ? data : returnValue; }