Skip to content

feat: Add isVector builtin #2369

New issue

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

Merged
merged 1 commit into from
Jul 20, 2022

Conversation

MaxGraey
Copy link
Member

/** Tests if the specified type *or* expression is of a v128 type. Compiles to a constant. */
declare function isVector<T>(value?: any): value is v128;
  • I've read the contributing guidelines
  • I've added my name and email to the NOTICE file

@MaxGraey MaxGraey requested a review from dcodeIO July 12, 2022 12:02
@MaxGraey MaxGraey changed the title [feat] Add isVector builtin feat: Add isVector builtin Jul 12, 2022
@dcodeIO
Copy link
Member

dcodeIO commented Jul 19, 2022

(also needs to be added to the website docs :))

@MaxGraey MaxGraey merged commit 2a55449 into AssemblyScript:main Jul 20, 2022
@MaxGraey MaxGraey deleted the add-is-vector-builtin branch July 20, 2022 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants