MCPcopy Create free account
hub / github.com/evilsocket/islazy / IsBooleanObject

Method IsBooleanObject

plugin/plugin.go:192–194  ·  view source on GitHub ↗

IsBooleanObject returns true if the object with a given name is a javascript boolean object, false otherwise

(name string)

Source from the content-addressed store, hash-verified

190// IsBooleanObject returns true if the object with a
191// given name is a javascript boolean object, false otherwise
192func (p *Plugin) IsBooleanObject(name string) bool {
193 return p.GetTypeObject(name) == "BooleanObject"
194}
195
196// IsNumberObject returns true if the object with a
197// given name is a javascript Number object, false otherwise

Callers

nothing calls this directly

Calls 1

GetTypeObjectMethod · 0.95

Tested by

no test coverage detected