check_key


Description:

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

Checks whether key is a valid key for OVS' external-ids.

This means, the key cannot be null, not too large and valid ASCII. Also, only digits and numbers are allowed with a few special characters. They key must also not start with "NM.".

Parameters:

key

the key to check

Returns:

true if key is a valid user data key.




2022 vala-language.org