wp-includes/script-modules.php:126Unmarks the script module so it is no longer enqueued in the page.
$idstringfunction wp_dequeue_script_module( string $id ) { wp_script_modules()->dequeue( $id );}Introduced in 6.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/script-modules.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.