UNPKG

godprotocol

Version:
22 lines (16 loc) 357 B
import Datatypes from "godprotocol/Objects/Datatypes"; class Func extends Datatypes{ constructor(payload, account){ super() this.account = account this.value = payload; this.type = 'function' } literal = ()=>{ return `[${this.value.value || this.value.name}]` } sync = async()=>{ return this } } export default Func