Code Climate
Product
Browser Extension
Features
Pricing
Developers
Sign up
Login
RocketChat/Rocket.Chat
View on GitHub
Star
Overview
Progress
Issues
Code
Filters
Trends
Last
master
build
See recent builds
8 days ago
Refresh default branch
Refresh
apps/meteor/lib/isTruthy.ts
Summary
Maintainability
A
0 mins
Test Coverage
Issues
Source
Stats
Issues
export const isTruthy = <T>(x: T | null | undefined | 0 | false | ''): x is T => Boolean(x);