/* * Copyright (c) 2021, Luke Wilde * Copyright (c) 2021, Linus Groh * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Web::Bindings::IDL { bool is_an_array_index(JS::GlobalObject&, JS::PropertyKey const&); Optional get_buffer_source_copy(JS::Object const& buffer_source); }