We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is.array
It should only do that for type unions that contain a readonly T[] type.
readonly T[]
import { is } from '@alloc/is' declare const a1: any declare const a2: string | readonly string[] declare const a3: string | string[] is.array(a1) // => any[] is.array(a2) // => readonly string[] is.array(a3) // => string[]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It should only do that for type unions that contain a
readonly T[]
type.The text was updated successfully, but these errors were encountered: