Learn R Programming

events (version 0.5)

spotter: Make a spotting function

Description

Hands back a function to spot the items it was given in (...)

Usage

spotter(...)

Arguments

...
The items for which the new function should return TRUE

Value

A function

Details

This is a convenience function for creates a function that returns true for exact matches to its arguments.