csk_fn_matches

Use this function to see if a key and object are an exact match.
  • 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("A”, "A") → true

    $csk_fn_matches("A", "D") → false

    $csk_fn_matches("A", "B\\, A") → true

    $csk_fn_matches("A", "A\\, D") → false

    Note:  \\ signifies the next key to look at.