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

Method IsRegExpObject

plugin/plugin.go:210–212  ·  view source on GitHub ↗

IsRegExpObject returns true if the object with a given name is a javascript RegExp object, false otherwise

(name string)

Source from the content-addressed store, hash-verified

208// IsRegExpObject returns true if the object with a
209// given name is a javascript RegExp object, false otherwise
210func (p *Plugin) IsRegExpObject(name string) bool {
211 return p.GetTypeObject(name) == "RegExpObject"
212}
213
214// IsErrorObject returns true if the object with a
215// given name is a javascript error object, false otherwise

Callers

nothing calls this directly

Calls 1

GetTypeObjectMethod · 0.95

Tested by

no test coverage detected