doesStartWith()
doesStartWith(
a
): (b
) =>boolean
Determine if first string starts with the second string.
Parameters
a
string
The first string to check against.
Returns
Function
Parameters
b
string
Returns
boolean
Remarks
pure function
Example
doesStartWith('b7a70c6346b5')('b7a7'); // true
doesStartWith('471aead1ae80')('b7a7'); // false