test_option


Description:

[ Version ( since = "0.2.0" ) ]
public bool test_option (string key, Value value)

Checks whether (key, value) are authorized by this.

Parameters:

this

a Caps instance

key

a key to test

value

the value corresponding to key to test against this

Returns:

true if (key, value) obey to this, false otherwise.