Click or drag to resize
AkCommonIsTrue Method
判断字符串是否表示逻辑真。

表示真的值包括 "true/1/yes/y/ok/on/是/真" 以及非零的数值。

Namespace: Appkit.Common
Assembly: Appkit (in Appkit.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C#
public static bool IsTrue(
	string s
)

Parameters

s
Type: SystemString

Return Value

Type: Boolean
true或false。
See Also