attempt icon indicating copy to clipboard operation
attempt copied to clipboard

[enhancement] return_if

Open ColinFay opened this issue 7 years ago • 1 comments

Wrapper around

if (this) return(x)

ColinFay avatar Aug 05 '18 07:08 ColinFay

I think we could also go for things around return_if_is:

return_if_is(this, "numeric", that)

Which could also work for

stop_if_is(this, "numeric", message) 

Ideas :

  • *_if_equal
  • *_if_null
  • *_if_length
  • *_if_matches

ColinFay avatar Aug 14 '18 11:08 ColinFay