Table of Contents

Method HasOnlyValidChars

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

HasOnlyValidChars(string?, Func<char, bool>)

Gets whether the specified string has only valid chars.

public static bool HasOnlyValidChars(string? s, Func<char, bool> isOk)

Parameters

s string

String to check.

isOk Func<char, bool>

Function used to check whether character is valid.

Returns

bool