src/class-wp-register.php
public static function remove( $type, $name ) {

		if ( isset( self::$data[ $type ][ $name ] ) ) {

			unset( self::$data[ $type ][ $name ] );
		}

		return true;
	}
public static function remove( $type, $name ) {

		if ( isset( self::$data[ $type ][ $name ] ) ) {

			unset( self::$data[ $type ][ $name ] );
		}

		return true;
	}
Remove before script or style have been registered.

@since 1.0.1

@param string $type → script|style.
@param string $name → script or style name.

@return boolean true