Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devld/go-drive
/ Bool
Method
Bool
script/utils.go:62–68 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
60
}
61
62
func
(v *Value) Bool() bool {
63
b, e := v.v.ToBoolean()
64
if
e != nil {
65
v.vm.ThrowTypeError(e.Error())
66
}
67
return
b
68
}
69
70
func
(v *Value) Integer() int64 {
71
i, e := v.v.ToInteger()
Callers
11
parseValue
Function · 0.45
vm_buildEntriesTree
Function · 0.45
vm_findEntries
Function · 0.45
vm_flattenEntriesTree
Function · 0.45
parseLDAPConfig
Function · 0.45
marshalSimple
Method · 0.45
marshalStruct
Method · 0.45
isEmptyValue
Function · 0.45
valueToScriptEntryStruct
Function · 0.45
HasThumbnail
Method · 0.45
delete
Method · 0.45
Calls
2
ThrowTypeError
Method · 0.80
Error
Method · 0.65
Tested by
no test coverage detected