check_val


Description:

[ Version ( since = "1.30" ) ]
public static bool check_val (string? val) throws Error

Checks whether val is a valid user data value.

This means, value is not null, not too large and valid UTF-8.

Parameters:

val

the value to check

Returns:

true if val is a valid user data value.