API ReferenceResourceDependsonResource.dependsOn() method Signature: dependsOn(resource: Resource): boolean; Parameters Parameter Type Description resource Resource **Returns:** boolean