Name

ClientExists — Checks whether a YCP client exists

Synopsis

boolean ClientExists ( string name );
 

Parameters

string name

client name

Return

boolean

whether client exists

Description

This is similar to 'call' or 'CallFunction' but client is only checked for existence and not executed. If client exists 'true' is returned, otherwise 'false'.

Usage

  ClientExists ("inst_mouse") -> true
  ClientExists ("missing_client") -> false