csk_fn_matches
Use this function to see if the key exists within the object.
- Boolean: csk_fn_matches(Object inputString, String key)
- Input:
- Object inputString: The object to be checked
- String key: The key that will be checked for in the input string
- Example:
$csk_fn_matches({"B"}, "B") → true
$csk_fn_matches({"B"}, "A") → false
$csk_fn_matches({"B"}, "B\\,A") → true
$csk_fn_matches({"B"}, "A\\,C") → false
Note: \\ signifies the next key to look at.