silverwolf-x/project / packages /next /src /lib /non-nullable.ts
silverwolf-x's picture
download
raw
117 Bytes
export function nonNullable<T>(value: T): value is NonNullable<T> {
return value !== null && value !== undefined
}

Xet Storage Details

Size:
117 Bytes
·
Xet hash:
08eaf1175910d02e869320aecd4af9277d0f8bf8fcec925bdf971c10a8c8920b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.