S&box Wiki

Sandbox.StringX.TryToType

Syntax

static bool TryToType( string str, System.Type t, object Value )

Description

Try to politely convert from a string to another type

Arguments

string str
System.Type t
object Value

Returns

bool