Skip to content

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