S&box Wiki

Sandbox.StringX.ToBool

Sandbox.StringX.ToBool

Syntax

static bool ToBool( string str )

Description

Try to convert to bool. Inputs can be true, false, yes, no, 0, 1, null (caps insensitive)

Arguments

string str

Returns

bool

Special Pages


Wikis

?

Render Time: 51ms

DB GetPage 42
Generate Html 0
SaveChanges (1) 7
Render Body 0
Render Sidebar 0