/** * Determine whether a value *isn't* undefined * @param t the value to check * @public */ export function isDefined(t: T | undefined): t is T { return typeof t !== 'undefined'; } /** * Determine whether a value *isn't* null * @param t the value to check * @public */ export function isNotNull(t: T | null): t is T { return t !== null; }