@minecraft/server
    Preparing search index...

    Class CommandResultBeta

    Contains return data on the result of a command execution.

    Index

    Properties

    Properties

    successCount: number

    If the command operates against a number of entities, blocks, or items, this returns the number of successful applications of this command.