input string
position
boolean indicating if a position in a string marks the start of a UTF-16 surrogate pair
var bool = hasUTF16SurrogatePairAt( '🌷', 0 );
// returns true
var bool = hasUTF16SurrogatePairAt( '🌷', 1 );
// returns false
Tests if a position in a string marks the start of a UTF-16 surrogate pair.
first argument must be a string
second argument must be a nonnegative integer
position must be a valid index in string