export default (val: V | undefined): val is V => val !== undefined;