Movie::IsAvailable

Movie::IsAvailable
bool IsAvailable(const char* ppathToVar) const;
Description

IsAvailable checks for availability of a field, method, or nested clip. This can be used to determine if a certain variable can be accessed, or an Invoke can be called without an unexpected failure warning. While using both IsAvailable and Invoke together may be convenient in certain situations, we recommend avoiding this when possible (i.e.; when you know that the target function already exists), since it causes the target path to be parsed twice and is thus more expensive. 

Note that this function cannot be used to check whether a sticky or permanent variable has been assigned at a path. 

Parameters
Parameters 
Description 
const char* ppathToVar 
A name or path of the field, method, or nested clip whose availability is being tested. 
Return Value

A Boolean value of 1 if the argument value is available, otherwise 0.