Lucee Function Reference

stringsome()

This function calls a given closure/function with every element in a given string and returns true, if one of the closure calls returns true.

Example

stringsome(string string,[function closure]):boolean

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
string string  Yes Input string.  
closure function  No The value to find or a closure/function that gets every value of the array as input and returns true if the given value is right.