export function isNotUndefined < T > ( val ) { return typeof val !== 'undefined' ; } export function isUndefined < T > ( val ) { return typeof val === 'undefined' ; } export function isString ( v ) { return typeof v === 'string' ; }