API ReferenceResourceIsscriptResource.isScript() method Signature: isScript(): this is ScriptResource; Returns: this is ScriptResource