UNPKG

@100mslive/hms-video-store

Version:

@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow

8 lines (7 loc) 210 B
/** * Check only for presence(not truthy) of a value. * Use in places where 0, false need to be considered valid. */ export function isPresent(value: any) { return value !== undefined && value !== null; }