Hear: hear no evil

Description Usage Arguments Value Author(s) Examples

View source: R/Hear.R

Description

A function that will only "hear" an input containing variants on the string '"no evil"'. 'Hear' is not case sensitive and will remove punctuation so '"no_Evil"' and '"nO- _eVil"' will also be heard. 'Hear' is also sensitive to value names so passing an object 'no_evil <- "asdf"' containing any arbitrary strings will also be heard. Anything that is not specifically '"no evil"' or some acceptable variant is assumed to be evil and will not be heard.

Usage

1
Hear(x)

Arguments

x

an input

Value

The string "No Evil.".

Author(s)

Greg Pilgrim gpilgrim2670@gmail.com

Examples

1
2
3
4
5
6
7
Hear(1)
Hear("No Evil")
no_evil <- "good stuff"
Hear(no_evil)
evil <- "good_stuff"
Hear(evil)
Hear(NA)

ThreeWiseMonkeys documentation built on April 22, 2020, 5:07 p.m.