{{redirect|Wrapper method|wrapper methods in feature selection|Feature selection#Wrapper method}}
A '''wrapper function''' is a [[subroutineFunction (computer programming)|function]] (another word for a [[Function (Programming)|''functionsubroutine'']]) in a [[Library (computing)|software library]] or a [[computer program]] whose main purpose is to call a second subroutine<ref>{{cite book |title=Using Visual Basic 6 |last=Reselman |first=Bob |author2=Peasley, Richard |author3=Pruchniak, Wayne |year=1998 |publisher=Que |isbn=9780789716330 |page=446 |url=https://books.google.com/books?id=X5ZQAAAAMAAJ&client=firefox-a&pgis=1 }}</ref> or a [[system call]] with little or no additional computation. Wrapper functions are used to make writing computer programs easier by abstracting away the details of a subroutine's underlying implementation.