Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/fory
/ bool
Method
bool
javascript/packages/core/lib/writer/index.ts:96–99 ·
view source on GitHub ↗
(bool: boolean)
Source
from the content-addressed store, hash-verified
94
}
95
96
bool(bool: boolean) {
97
this.dataView.setUint8(this.cursor, bool ? 1 : 0);
98
this.cursor++;
99
}
100
101
writeUint8(v: number) {
102
this.dataView.setUint8(this.cursor, v);
Callers
11
typeInfoForElementTypeId
Function · 0.45
writeBool
Method · 0.45
initInternalSerializer
Method · 0.45
data2TypeInfo
Function · 0.45
crossLanguage.test.ts
File · 0.45
NullableComprehensiveCompatible
Class · 0.45
NullableComprehensiveConsistent
Class · 0.45
object.test.ts
File · 0.45
typemeta.test.ts
File · 0.45
fory.test.ts
File · 0.45
boolField
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected