Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

145 B
Raw Blame
export function includes<T, U extends T>(us: readonly U[], t: T): t is U {
    const values: readonly T[] = us;
    return values.includes(t);
}