some()
areString().some()
areString().some()Checks whether some of the provided values of areString() are a string type or an instance of String.
Returns
The return value is a boolean indicating whether some of the provided values of areString() are a string type or an instance of String.
Example usage
// Example usage.
import { areString } from '@angular-package/type';
areString(1, '2', '3').some((result, value, payload) => {
result // true
value // [1, '2', '3']
payload // undefined
return result;
}); // true, booleanLast updated
Was this helpful?