test


Description:

public bool test (string name, string value, bool case_sensitively)

Compares current value of parameter named name with given value and returns whether they are equal, either case sensitively or insensitively, based on case_sensitively argument.

Function returns false, if no such parameter exists.

Parameters:

this

an NamedParameters

name

name of a parameter to test

value

value to test

case_sensitively

whether to compare case sensitively

Returns:

Whether parameter of given name has stored value of given value.




2022 vala-language.org