Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/replcraft/lib/block/block.ts>Block#equals

A library to control special structures on the ReplCraft Minecraft server
Latest
method Block.prototype.equals
import { Block } from "https://deno.land/x/replcraft@v1.1.0/lib/block/block.ts";

Check whether the specified string block identifer is the same as this instance.

Parameters

block: Block

Block identifier to compare against

Returns

boolean

Whether they are the same block identifier