UNPKG

@huggingface/hub

Version:

Utilities to interact with the Hugging Face hub

4 lines (3 loc) 112 B
export function typedInclude<V, T extends V>(arr: readonly T[], v: V): v is T { return arr.includes(v as T); }