Skip to main content
Tweeted twitter.com/StackCodeGolf/status/697548996366221313
added 23 characters in body
Source Link
rybo111
  • 4.6k
  • 2
  • 27
  • 28

In the fewest bytes possible, determine whether the two values given each match one of the following:

First value

2 string or integer - whichever you prefer to case insensitive too case insensitive two case insensitive t0 case insensitive (t zero) 

Second value

b case insensitive be case insensitive bee case insensitive b3 case insensitive 

Examples

2 'Bee' true '2' 'b' true 'not to' 'be' false 'that is' 'the question' false 

In the fewest bytes possible, determine whether the two values given each match one of the following:

First value

2 string or integer to case insensitive too case insensitive two case insensitive t0 case insensitive (t zero) 

Second value

b case insensitive be case insensitive bee case insensitive b3 case insensitive 

Examples

2 'Bee' true '2' 'b' true 'not to' 'be' false 'that is' 'the question' false 

In the fewest bytes possible, determine whether the two values given each match one of the following:

First value

2 string or integer - whichever you prefer to case insensitive too case insensitive two case insensitive t0 case insensitive (t zero) 

Second value

b case insensitive be case insensitive bee case insensitive b3 case insensitive 

Examples

2 'Bee' true '2' 'b' true 'not to' 'be' false 'that is' 'the question' false 
edited tags
Link
FryAmTheEggman
  • 17.5k
  • 3
  • 42
  • 99
deleted 107 characters in body
Source Link
rybo111
  • 4.6k
  • 2
  • 27
  • 28

In the fewest bytes possible, create a function that determinesdetermine whether the two parametersvalues given each match one of the following:

First parametervalue

2 string or integer to case insensitive too case insensitive two case insensitive t0 case insensitive (t zero) 

Second parametervalue

b case insensitive be case insensitive bee case insensitive b3 case insensitive 

Return true or false accordingly (or a valid equivalent such as 1 or 0).

Examples

q('2',2 'Bee')  'Bee'  true q(2,'2' 'b') 'b' true q('not to',  'be') false q('that is',  'the question')  false 

In the fewest bytes possible, create a function that determines whether the two parameters given match one of the following:

First parameter

2 string or integer to case insensitive too case insensitive two case insensitive t0 case insensitive (t zero) 

Second parameter

b case insensitive be case insensitive bee case insensitive b3 case insensitive 

Return true or false accordingly (or a valid equivalent such as 1 or 0).

Examples

q('2', 'Bee') true q(2, 'b') true q('not to', 'be') false q('that is', 'the question') false 

In the fewest bytes possible, determine whether the two values given each match one of the following:

First value

2 string or integer to case insensitive too case insensitive two case insensitive t0 case insensitive (t zero) 

Second value

b case insensitive be case insensitive bee case insensitive b3 case insensitive 

Examples

2   'Bee'  true '2' 'b' true 'not to'  'be' false 'that is'  'the question'  false 
added 67 characters in body
Source Link
rybo111
  • 4.6k
  • 2
  • 27
  • 28
Loading
Source Link
rybo111
  • 4.6k
  • 2
  • 27
  • 28
Loading