Truthy and falsy values
Based on the input, return a boolean value.
Sample Code:
function trueFalse(inp) {
// Enter your logic here...
}
Examples:
Input: 'Javascript'
Output: true
Explanation: String is a truthy value.
Input: ''
Output: false
Explanation: Empty string is a falsy value.