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

Method IsDateObject

plugin/plugin.go:204–206  ·  view source on GitHub ↗

IsDateObject returns true if the object with a given name is a javascript Date object, false otherwise

(name string)

Source from the content-addressed store, hash-verified

202// IsDateObject returns true if the object with a
203// given name is a javascript Date object, false otherwise
204func (p *Plugin) IsDateObject(name string) bool {
205 return p.GetTypeObject(name) == "DateObject"
206}
207
208// IsRegExpObject returns true if the object with a
209// given name is a javascript RegExp object, false otherwise

Callers

nothing calls this directly

Calls 1

GetTypeObjectMethod · 0.95

Tested by

no test coverage detected