isAmong
Let's say we have an union type like:
Names.ts
isAmong enables to test if a given values is one of the names
If we just have the type and not the exhausive array:
Last updated
Let's say we have an union type like:
isAmong enables to test if a given values is one of the names
If we just have the type and not the exhausive array:
Last updated