how to know what interface to use with lambda expressions code example
Example: interface function
interface SearchFunc {
(source: string, subString: string): boolean;
}
interface SearchFunc {
(source: string, subString: string): boolean;
}