Checks if a value is present (not empty).
function isPresent<T>( value: undefined | | T): unknownChecks if a value is present (not empty).
undefined | "null" | TunknownChecks if a value is present (not empty).
A value is considered present if it is NOT:
undefinednull''isPresent(undefined); // false
isPresent(null); // false
isPresent(''); // false
isPresent('hello'); // true
isPresent(0); // true
isPresent(false); // true
isPresent([]); // true
