For AI agents: the complete documentation index is available at /tc39-atlas/en/llms.txt, the full documentation bundle is available at /tc39-atlas/en/llms-full.txt, and this page is available as Markdown at /tc39-atlas/en/proposals/stage/0/reflect-iscallable-isconstructor.md.
  • English
  • Reflect.{isCallable,isConstructor} S0

    Proposal details
    Proposal overview

    This proposal aims to add Reflect.isCallable and Reflect.isConstructor methods to ECMAScript, providing a way to check if a value is callable or constructable respectively. It addresses the lack of direct reflective checks for these properties in the language. As a TC39 proposal, it is not yet standardized and is in early stages of consideration.

    Note

    The README below comes from the upstream repository and may contain outdated stage or status metadata. Use the proposal details above as the current source of truth.

    TC39-Proposals

    Things that might be good to include in ECMA 262