| CharacterPropertiesIsAll Method (String, PredicateChar) |
Evaluates the predicate on all characters in the string and returns true if all characters
fulfill the predicate, and false otherwise. Note that the method will always return true
for the empty string.
Namespace: Sdl.LanguagePlatform.CoreAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic static bool IsAll(
string s,
Predicate<char> predicate
)
Public Shared Function IsAll (
s As String,
predicate As Predicate(Of Char)
) As Boolean
public:
static bool IsAll(
String^ s,
Predicate<wchar_t>^ predicate
)
static member IsAll :
s : string *
predicate : Predicate<char> -> bool
Parameters
- s
- Type: SystemString
[Missing <param name="s"/> documentation for "M:Sdl.LanguagePlatform.Core.CharacterProperties.IsAll(System.String,System.Predicate{System.Char})"]
- predicate
- Type: SystemPredicateChar
[Missing <param name="predicate"/> documentation for "M:Sdl.LanguagePlatform.Core.CharacterProperties.IsAll(System.String,System.Predicate{System.Char})"]
Return Value
Type:
Booleantrue if all characters fulfill the predicate or
s is the
empty string, and false otherwise.
See Also
Comments