On this pageisSomething() const isSomething: (...args) => boolean Determines if the given value is not undefined or null. Parameters args ...[unknown] Returns boolean Example if(isSomething(val)) { // happy path...}