13.3 Accessing JavaScript from Prolog
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Using SWI-Prolog in your browser (WASM)
        • Accessing JavaScript from Prolog
          • :=/2
          • is_object/1
          • is_object/2
          • js_script/2
          • fetch/3
          • Asynchronous access to JavaScript from Prolog
          • JavaScript Promise that can be aborted
    • Packages
[semidet]is_object(@Term, ?Class)
True when Term is an instance of Class. If Class is unbound it is unified with the name of the constructor, otherwise a JavaScript Term instanceof Class is executed.