Pular para o conteúdo principal

IsValidServerRule

atenção

This function was added in omp v1.1.0.2612 and will not work in earlier versions!

Description

Checks if the given server rule is valid.

NameDescription
const rule[]The server rule name to check.

Returns

Returns true if the server rule is valid, otherwise false.

Examples

if (IsValidServerRule("version"))
{
// Server rule is valid
}
else
{
// Server rule is not valid
}