starts-with-one-of
v1.0.0arrow_drop_downstring
,Array
bool
Checks whether the string start with on the options specified.
string
string to check.
Array
options to start with
bool
whether the string starts with one of the options.
starts-with-one-of should return true if start with first option | Pass |
starts-with-one-of should return true if start with first option | Pass |
starts-with-one-of should return true if start with first option | Pass |
starts-with-one-of should return true if start with first option | Pass |
starts-with-one-of should return true if start with last option | Pass |
starts-with-one-of should return true if start with option in the middle | Pass |
starts-with-one-of should return true if starts with single option | Pass |
starts-with-one-of should return false if no options sent | Pass |
starts-with-one-of should return false if options is empty array | Pass |
starts-with-one-of should return false if options is not an array | Pass |
starts-with-one-of should return true if starts with option that is more than one char | Pass |
starts-with-one-of should return true if starts with option that is more than one word | Pass |
starts-with-one-of should return true if starts with more than one option | Pass |
starts-with-one-of should return false if string to check is empty | Pass |
starts-with-one-of should return false if string to check is undefined | Pass |
starts-with-one-of should return false if string to check is empty and there are no options | Pass |
starts-with-one-of should return false if string to check is undefined and there are no options | Pass |